Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision |
wiki:centos:mehrere_php_versionen [2019/02/04 11:19] – [Pool-Namen umbenennen] wikiadmin | wiki:centos:mehrere_php_versionen [2020/04/15 11:33] – [Paketinstallation] wikiadmin |
---|
==== PHP 7.3 ==== | ==== PHP 7.3 ==== |
<file>yum install php73-php php73-php-bcmath php73-php-cli php73-php-common php73-php-devel php73-php-gd php73-php-gmp.x86_64 php73-php-intl.x86_64 php73-php-json.x86_64 php73-php-mbstring.x86_64 php73-php-mcrypt.x86_64 php73-php-mysqlnd.x86_64 php73-php-opcache.x86_64 php73-php-pdo.x86_64 php73-php-process.x86_64 php73-php-tidy.x86_64 php73-php-xml.x86_64 php73-php-pecl-apcu.x86_64 php73-php-pecl-geoip.x86_64 php73-php-pecl-igbinary.x86_64 php73-php-pecl-imagick.x86_64 php73-php-pecl-memcached.x86_64 php73-php-pecl-msgpack.x86_64 php73-php-pecl-zip.x86_64</file> | <file>yum install php73-php php73-php-bcmath php73-php-cli php73-php-common php73-php-devel php73-php-gd php73-php-gmp.x86_64 php73-php-intl.x86_64 php73-php-json.x86_64 php73-php-mbstring.x86_64 php73-php-mcrypt.x86_64 php73-php-mysqlnd.x86_64 php73-php-opcache.x86_64 php73-php-pdo.x86_64 php73-php-process.x86_64 php73-php-tidy.x86_64 php73-php-xml.x86_64 php73-php-pecl-apcu.x86_64 php73-php-pecl-geoip.x86_64 php73-php-pecl-igbinary.x86_64 php73-php-pecl-imagick.x86_64 php73-php-pecl-memcached.x86_64 php73-php-pecl-msgpack.x86_64 php73-php-pecl-zip.x86_64</file> |
| ==== PHP 7.4 ==== |
| <file>yum install $(yum list installed "php??-*" | awk '{print $1}' | egrep -v "Installed|Loaded" | cut -d "-" -f 2- | cut -d "." -f 1 | sort | uniq | egrep -v "php7|runtime" | sed -e 's/^/php74-/')</file> |
| |
===== PHP FastCGI Process Manager ===== | ===== PHP FastCGI Process Manager ===== |
==== Paketinstallation ==== | ==== Paketinstallation ==== |
| |
<file>yum install php70-php-fpm.x86_64 php71-php-fpm.x86_64 php72-php-fpm.x86_64 php73-php-fpm.x86_64</file> | <file>yum install php70-php-fpm.x86_64 php71-php-fpm.x86_64 php72-php-fpm.x86_64 php73-php-fpm.x86_64 php74-php-fpm.x86_64</file> |
| |
==== Prozesse stoppen ==== | ==== Prozesse stoppen ==== |
====== Quellen ====== | ====== Quellen ====== |
| |
- [[https://www.dotcom-tools.com/website-speed-test.aspx|Website Speed test]] | * [[https://developers.redhat.com/blog/2017/10/25/php-configuration-tips/|PHP Configuration Tips]] |
| * [[https://wiki.centos.org/HowTos/php7/|Using PHP 7.x on CentOS 7.4]] |
| * [[https://developers.redhat.com/blog/2014/04/08/apache-with-various-php-versions-using-scl/|Apache with various PHP versions, using SCL]] |
| * [[https://blog.remirepo.net/post/2016/04/16/My-PHP-Workstation]] |
| * [[https://www.dotcom-tools.com/website-speed-test.aspx|Website Speed test]] |