Jun 26, 2014
Comments Off on Install PHP 5.5 on Centos 6.5 or RHEL 5.10 via command line

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

Written by

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 http://mirror.webtatic.com/yum/el6/latest.rpm


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


rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm


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

Leave your vote

0 points
Upvote Downvote



Article Tags:
· · · ·
Article Categories:

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.