Centos 6.5 Upgrade php, centos6.5
1. Add the epel and remi source of CentOS 6.5.
# Rpm-Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm# rpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
2. Run the yum list command to view Packege ).
# Yum list -- enablerepo = remi -- enablerepo = remi-php56 | grep php
After you have configured the yum source of PHP5.63, you can install PHP5.6 in the next step.
# Yum install -- enablerepo = remi -- enablerepo = remi-php56 php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl -xhprof
When I perform Step 1 and step 2, I may encounter problems. I also worked on it for a long time. I uninstalled yum and re-installed yum. If someone encountered a problem and could not find a solution, please try my solution. lower