Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php7.2_upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
centos_php7.2_upgrade [2018/11/01 20:34]
juckins created
centos_php7.2_upgrade [2018/11/05 16:28] (current)
juckins
Line 3: Line 3:
 Installed packages from php56: Installed packages from php56:
  
 +<code>
 php56u-5.6.38-1.ius.centos7.x86_64 php56u-5.6.38-1.ius.centos7.x86_64
 php56u-bcmath-5.6.38-1.ius.centos7.x86_64 php56u-bcmath-5.6.38-1.ius.centos7.x86_64
Line 21: Line 22:
 php56u-process-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 php56u-xml-5.6.38-1.ius.centos7.x86_64
 +</code>
  
 +Make a backup of /etc/php.ini and merge in changes with new version.
 +
 +[[https://www.tecmint.com/install-php-7-in-centos-7/|Install PHP 7 in CentOS7]]
 +
 +Packages after PHP 7.2 install:
 +
 +<code>
 +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
 +</code>
 +
 +As root: systemctl restart httpd.service
 +
 +Test PHP webpages
centos_php7.2_upgrade.1541118860.txt.gz ยท Last modified: 2018/11/01 20:34 by juckins