I followed the tutorial above, However I need php 5.4 and not 5.3 How would I upgrade
Yum update php and yum update does nothing.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@asb YOU SAVED MY LIFE IN LESS THAN 3 MIN.
Thankfully updating my PHP version was as simple as running you suggested commands!
Thank you very much for your help. I can confirm this works :)
In order to upgrade to a newer version of PHP in CentOS 6, you’ll need to enable some external repositories, EPEL and Remi. You can download the repositories’ information and enable them with:
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
You can then upgrade PHP with:
yum upgrade --enablerepo=remi php
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.