Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision |
wiki:centos:mehrere_php_versionen [2019/02/04 10:19] – [PHP 7.0] wikiadmin | wiki:centos:mehrere_php_versionen [2019/02/04 11:19] – [Pool-Namen umbenennen] wikiadmin |
---|
<file>yum install php56-php php56-php-bcmath php56-php-cli php56-php-common php56-php-devel php56-php-gd php56-php-gmp.x86_64 php56-php-intl.x86_64 php56-php-json.x86_64 php56-php-mbstring.x86_64 php56-php-mcrypt.x86_64 php56-php-mysqlnd.x86_64 php56-php-opcache.x86_64 php56-php-pdo.x86_64 php56-php-process.x86_64 php56-php-tidy.x86_64 php56-php-xml.x86_64 php56-php-pecl-apcu.x86_64 php56-php-pecl-geoip.x86_64 php56-php-pecl-igbinary.x86_64 php56-php-pecl-imagick.x86_64 php56-php-pecl-memcached.x86_64 php56-php-pecl-msgpack.x86_64 php56-php-pecl-zip.x86_64</file> | <file>yum install php56-php php56-php-bcmath php56-php-cli php56-php-common php56-php-devel php56-php-gd php56-php-gmp.x86_64 php56-php-intl.x86_64 php56-php-json.x86_64 php56-php-mbstring.x86_64 php56-php-mcrypt.x86_64 php56-php-mysqlnd.x86_64 php56-php-opcache.x86_64 php56-php-pdo.x86_64 php56-php-process.x86_64 php56-php-tidy.x86_64 php56-php-xml.x86_64 php56-php-pecl-apcu.x86_64 php56-php-pecl-geoip.x86_64 php56-php-pecl-igbinary.x86_64 php56-php-pecl-imagick.x86_64 php56-php-pecl-memcached.x86_64 php56-php-pecl-msgpack.x86_64 php56-php-pecl-zip.x86_64</file> |
| |
| <note>__Notiz:__ |
| |
| Ab hier wird nur noch auf die PHP-Versionen 7.x eingegangen. PHP in der Version 5.x sollte nicht mehr verwendet werden, wird der vollständigkeit halber aber aufgelistet</note> |
==== PHP 7.0 ==== | ==== PHP 7.0 ==== |
| |
==== Pool-Namen umbenennen ==== | ==== Pool-Namen umbenennen ==== |
| |
<file>sed -e 's/\[www\]/\[www-php70\]/' -i /etc/opt/remi/php70/php-fpm.d/www.conf | <file>sed -e 's/\[www\]/\[www-php7.0\]/' -i /etc/opt/remi/php70/php-fpm.d/www.conf |
sed -e 's/\[www\]/\[www-php71\]/' -i /etc/opt/remi/php71/php-fpm.d/www.conf | sed -e 's/\[www\]/\[www-php7.1\]/' -i /etc/opt/remi/php71/php-fpm.d/www.conf |
sed -e 's/\[www\]/\[www-php72\]/' -i /etc/opt/remi/php72/php-fpm.d/www.conf | sed -e 's/\[www\]/\[www-php7.2\]/' -i /etc/opt/remi/php72/php-fpm.d/www.conf |
sed -e 's/\[www\]/\[www-php73\]/' -i /etc/opt/remi/php73/php-fpm.d/www.conf</file> | sed -e 's/\[www\]/\[www-php7.3\]/' -i /etc/opt/remi/php73/php-fpm.d/www.conf</file> |
| |
==== Port's umbenennen ==== | ==== Port's umbenennen ==== |