Web Masters Site All For Web Masters

23Aug/080

Upgrade To PHP 5.2.x on CentOS/RHEL/Fedora

If you want to upgrade php automatically on your dedicated server or VPS, you can easily do this with this method, first of all write this command

wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

then

yum update

if you are updating from php 4 type this to replace the PHP 4 php.ini with PHP 5.2.x's

mv /etc/php.ini.rpmnew /etc/php.ini

now type this to replace the php.conf with the PHP 5.2.x php.conf
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

now restart your webserver

service httpd restart
(or)
/etc/init.d/httpd restart

Filed under: Linux SA Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

 

No trackbacks yet.