Created
April 3, 2015 10:50
-
-
Save chesster/587f1937d8270c1355d9 to your computer and use it in GitHub Desktop.
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
## | |
# Installing PHP 5.4 on centos 6.6 | |
## | |
sudo yum install centos-release-SCL | |
sudo yum clean all | |
sudo yum makecache | |
sudo yum install php54-php-bcmath php54 php54-php-cli php54-php-gd php54-php-ldap php54-php-mbstring php54-php-xmlrpc php54-php php54-php-pdo php54-php-pear php54-php-pecl-apc php54-php-mysqlnd php54-php-process | |
source /opt/rh/php54/enable | |
# Check if it works: | |
php -v | |
# Apache | |
sudo mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.bak | |
sudo service httpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment