Created
April 8, 2016 05:44
-
-
Save ggeorgaras/84649abe6d84fd0d15da59bba84e2d32 to your computer and use it in GitHub Desktop.
Upgrading PHP 5.3.3 to 5.4.x in CentOS 6.7
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
#Install epel | |
yum install epel | |
#or you can do this with wget | |
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -ivh epel-release-6-8.noarch.rpm | |
#Install remi | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
rpm -Uvh remi-release-6*.rpm | |
#Just to be safe run update | |
yum update | |
#Upgrade the php and modules allready installed | |
yum --enablerepo=remi upgrade php* -y | |
#Check installed version of php and restart apache or php-fpm or both | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment