Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php7.2_upgrade

CentOS 7 PHP 7.2 upgrade

Installed packages from php56:

php56u-5.6.38-1.ius.centos7.x86_64
php56u-bcmath-5.6.38-1.ius.centos7.x86_64
php56u-cli-5.6.38-1.ius.centos7.x86_64
php56u-common-5.6.38-1.ius.centos7.x86_64
php56u-devel-5.6.38-1.ius.centos7.x86_64
php56u-gd-5.6.38-1.ius.centos7.x86_64
php56u-intl-5.6.38-1.ius.centos7.x86_64
php56u-mbstring-5.6.38-1.ius.centos7.x86_64
php56u-mcrypt-5.6.38-1.ius.centos7.x86_64
php56u-mysqlnd-5.6.38-1.ius.centos7.x86_64
php56u-opcache-5.6.38-1.ius.centos7.x86_64
php56u-pdo-5.6.38-1.ius.centos7.x86_64
php56u-pear-1.10.5-1.ius.centos7.noarch
php56u-pecl-jsonc-1.3.10-2.ius.centos7.x86_64
php56u-pecl-jsonc-devel-1.3.10-2.ius.centos7.x86_64
php56u-pgsql-5.6.38-1.ius.centos7.x86_64
php56u-process-5.6.38-1.ius.centos7.x86_64
php56u-xml-5.6.38-1.ius.centos7.x86_64

Make a backup of /etc/php.ini and merge in changes with new version.

Install PHP 7 in CentOS7

Packages after PHP 7.2 install:

php-7.2.11-1.el7.remi.x86_64
php-cli-7.2.11-1.el7.remi.x86_64
php-common-7.2.11-1.el7.remi.x86_64
php-gd-7.2.11-1.el7.remi.x86_64
php-json-7.2.11-1.el7.remi.x86_64
php-ldap-7.2.11-1.el7.remi.x86_64
php-mbstring-7.2.11-1.el7.remi.x86_64
php-mysqlnd-7.2.11-1.el7.remi.x86_64
php-pdo-7.2.11-1.el7.remi.x86_64
php-pecl-mcrypt-1.0.1-6.el7.remi.7.2.x86_64
php-pecl-zip-1.15.4-1.el7.remi.7.2.x86_64

As root: systemctl restart httpd.service

Test PHP webpages

centos_php7.2_upgrade.txt · Last modified: 2018/11/05 16:28 by juckins