Created
October 30, 2015 07:15
-
-
Save algotrader-dotcom/be4645f16142283d278a to your computer and use it in GitHub Desktop.
Upgrade php 5.4 to 5.6 on Centos 6.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Requirements (if normal installed failed) | |
| yum install libicu* | |
| ftp://195.220.108.108/linux/centos/6.7/os/x86_64/Packages/libicu-4.2.1-12.el6.x86_64.rpm | |
| # Step install | |
| rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm | |
| yum remove php-common | |
| yum install -y php56w php56w-mbstring php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring php56w-soap php56w-interbase php56w-pgsql php56w-xml php56w-cli php56w-fpm php56w-pear | |
| pecl install memcache | |
| pecl install igbinary | |
| pecl install mongo | |
| yum install php56w-pecl-geoip | |
| yum install php56w-pecl-gearman | |
| yum install php56w-pecl-memcache | |
| yum install php56w-pecl-memcached | |
| # In php-fpm.d , move www.conf to www.conf.disable | |
| /etc/init.d/php-fpm restart | |
| fpm | |
| mv www.conf www.conf.disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment