Created
May 28, 2015 12:47
-
-
Save lukrizal/c42f0f4ce84593bd0a87 to your computer and use it in GitHub Desktop.
Installing PHP 5.6 on CentOS 6
This file contains 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
sudo yum -y remove php56w php56w-bcmath php56w-cli php56w-common php56w-devel php56w-fpm php56w-gd php56w-ldap php56w-mbstring php56w-mcrypt php56w-mysql php56w-odbc php56w-pdo php56w-pear php56w-pecl-apcu php56w-pecl-apcu-devel php56w-pecl-geoip php56w-pecl-igbinary php56w-pecl-imagick php56w-pecl-imagick-devel php56w-pecl-memcache php56w-pecl-memcached php56w-pgsql php56w-process php56w-soap php56w-tidy php56w-xml php56w-xmlrpc && \ | |
sudo yum -y --enablerepo=remi install php56 php56-php-bcmath php56-php-cli php56-php-common php56-php-devel php56-php-fpm php56-php-gd php56-php-ldap php56-php-mbstring php56-php-mcrypt php56-php-mysql php56-php-odbc php56-php-pdo php56-php-pear php56-php-pecl-apcu php56-php-pecl-apcu-devel php56-php-pecl-geoip php56-php-pecl-igbinary php56-php-pecl-igbinary-devel php56-php-pecl-imagick php56-php-pecl-imagick-devel php56-php-pecl-memcache php56-php-pecl-memcached php56-php-pgsql php56-php-process php56-php-soap php56-php-tidy php56-php-xml php56-php-xmlrpc php56-php-pecl-zip php56-php-mysqlnd php56-php-pecl-cairo php56-php-pecl-cairo-devel php56-php-pecl-crypto php56-php-pecl-dbus php56-php-pecl-event php56-php-pecl-gearman php56-php-pecl-json-post php56-php-pecl-jsonc php56-php-pecl-jsonc-devel php56-php-pecl-jsond php56-php-pecl-mongo php56-php-pecl-mongodb php56-php-pecl-oauth php56-php-pecl-pdflib php56-php-pecl-redis php56-php-pecl-trace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment