When you received a CentOS 6.5 system, you might find out that only PHP 5.3.3 is available. Some research shows, PHP 5.3 is a bit faster than 5.4.x and 5.5.x. However, some CMS or Forum systems will require 5.4 and above version to run them.
Here are the steps to upgrade PHP 5.3 to 5.4.x.
yum install centos-release-SCL
yum install php54 php54-php php54-php-cli php54-php-common php54-php-mysql
php -V
// you still see 5.3.xscl enable php54 "php -v"
source /opt/rh/php54/enable
php -V
// you will see PHP 5.4.xservice httpd restart
Test PHP version, create a simple PHP file to show PHP information:
<?php phpinfo() ?>
Great blog you have here.. It’s difficult to find good quality writing like yours nowadays.
I truly appreciate individuals like you! Take care!!
I am now not sure where you’re getting your info, however great topic.
I must spend some time finding out more or understanding more.
Thanks for magnificent info I used to bbe looking for thiis info for
my mission.
Good day! I just would like to offer you a huge thumbs
up for the excellent info you’ve got right here on this post.
I am returning to your website for more soon.
Pretty section of content. I simply stumbled upon your weblog and in accession capital to say that I get actually loved
account your blog posts. Any way I’ll be subscribing
in your feeds or even I success you get entry to constantly rapidly.
Hey just wanted to give you a quick heads up.
The words in your content seem to be running off the screen in Firefox.
I’m not sure if this is a formatting issue or something to do with browser
compatibility but I thought I’d post to let you know.
The style and design look great though! Hope you get the issue solved soon. Cheers
Wonderful post! We are linking to this great content on our site.
Keep up the good writing.
Hi there! This article could not be written any better!
Looking at this post reminds me of my previous roommate!
He always kept talking about this. I am going to forward this post to him.
Fairly certain he’ll have a great read. Many thanks for sharing!
-Gabriel
Simply wish to say your article is as surprising.
The clearness to your put up is just nice and i could think you are a professional
in this subject. Fine along with your permission allow me to
grab your feed to keep updated with coming near near post.
Thanks one million and please continue the enjoyable work.
I could not refrain from commenting. Perfectly written!
It’s really a nice and useful piece of info.
I’m satisfied that you just shared this useful information with us.
Please keep us informed like this. Thanks for sharing.
Greate article. Keep writing such kind of info on your
page. Im really impressed by your blog.
Hello there, You’ve performed an excellent job. I’ll certainly
digg it and in my view suggest to my friends.
I’m confident they’ll be benefited from this web site.