Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php5.6_upgrade

Differences

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

Link to this comparison view

Next revision
Previous revision
centos_php5.6_upgrade [2016/10/29 07:48] – created juckinscentos_php5.6_upgrade [2018/11/01 21:38] (current) juckins
Line 1: Line 1:
 ==== PHP 5.6 on CentOS 7 ==== ==== PHP 5.6 on CentOS 7 ====
  
-http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html#instgde-prereq-php56-install-centos+http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html
  
 +Note: mysql_* functions are getting old and they need to be migrated to PDO.  [[http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers|See tutorial]]
  
 +These were the base packages installed with PHP 5.4 (before upgrading):
 +<code>
 +# rpm -qa |grep php | sort
 +php-5.4.16-36.3.el7_2.x86_64
 +php-cli-5.4.16-36.3.el7_2.x86_64
 +php-common-5.4.16-36.3.el7_2.x86_64
 +php-mbstring-5.4.16-36.3.el7_2.x86_64
 +php-mcrypt-5.4.16-5.el7.x86_64
 +php-mysql-5.4.16-36.3.el7_2.x86_64
 +php-pdo-5.4.16-36.3.el7_2.x86_64
 +</code>
 +
 +These are the packages after installing PHP 5.6:
 +<code>
 +# rpm -qa |grep php | sort
 +php56u-5.6.27-1.ius.centos7.x86_64
 +php56u-bcmath-5.6.27-1.ius.centos7.x86_64
 +php56u-cli-5.6.27-1.ius.centos7.x86_64
 +php56u-common-5.6.27-1.ius.centos7.x86_64
 +php56u-devel-5.6.27-1.ius.centos7.x86_64
 +php56u-gd-5.6.27-1.ius.centos7.x86_64
 +php56u-intl-5.6.27-1.ius.centos7.x86_64
 +php56u-mbstring-5.6.27-1.ius.centos7.x86_64
 +php56u-mcrypt-5.6.27-1.ius.centos7.x86_64
 +php56u-mysqlnd-5.6.27-1.ius.centos7.x86_64
 +php56u-opcache-5.6.27-1.ius.centos7.x86_64
 +php56u-pdo-5.6.27-1.ius.centos7.x86_64
 +php56u-pear-1.10.1-4.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-process-5.6.27-1.ius.centos7.x86_64
 +php56u-xml-5.6.27-1.ius.centos7.x86_64
 +</code>
 +
 +Make a copy of the base /etc/php.ini file and merge in custom settings.
centos_php5.6_upgrade.1477741682.txt.gz · Last modified: 2016/10/29 07:48 by juckins