Install PHP 5.5 on Centos 6.5 or RHEL 5.10 via command line

Installing PHP 5.5 is fast, and far better in terms of security issues and over all memory usage compaired to the stock versions of PHP.



While there are many reasons to install PHP 5.5 including security, optimization, and overall coolness of being able to use the try {} and finally {} functions, being technically inept should not be it.




As root issue the following command for CentOS 6.5 and the 6.X Series


rpm -Uvh


For RHEL 5.10 and the Centos / RHEL 5.X series


rpm -Uvh


Next issue the following commands
yum install yum-plugin-replace

yum replace php-common --replace-with=php55w-common


Now restart Apache for the changes to take effect

/etc/init.d/httpd restart

What do you think?

0 points
Upvote Downvote


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.





Obama, An Epic Failure

Railo The Open Source ColdFusion Engine

Installing Railo on CentOS 6.5