Created
January 8, 2014 02:27
-
-
Save tegansnyder/8310729 to your computer and use it in GitHub Desktop.
Updating PHP from PHP Version 5.3.3 to 5.4.23 (and MySQL to 5.5.35) on Digital Ocean x64 Centos 6.4 base image.
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
| # in case you just did a yum install of mysql and php and need to upgrade use the remi repo | |
| wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| rpm -ivh epel-release-6-8.noarch.rpm | |
| wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
| rpm -Uvh remi-release-6*.rpm | |
| yum --enablerepo=remi upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
then if you really want to be fancy you can upgrade to PHP 5.5.7
http://www.webtatic.com/packages/php55/
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum install yum-plugin-replace
yum replace php-common --replace-with=php55w-common
yum install php55w-opcache