Sydney

Member
Apr 30, 2002
5
0
301
Hello,

I've just installed WHM/Cpanel (test license) on my Linux 7.2 (I'm not a webmaster just want to learn how WHM/CPanel works and also learn to administrate a server) and now I want to upgrade PHP to 4.2.2 (as you know PHP 4.2.1 has a big bug) but I can find where PHP is installed (sorry for my damn knowledge). Anyone can tell me where it is?
 

parag

Well-Known Member
Aug 16, 2001
115
0
316
[quote:01e43966f4][i:01e43966f4]Originally posted by Sydney[/i:01e43966f4]

Hello,

I've just installed WHM/Cpanel (test license) on my Linux 7.2 (I'm not a webmaster just want to learn how WHM/CPanel works and also learn to administrate a server) and now I want to upgrade PHP to 4.2.2 (as you know PHP 4.2.1 has a big bug) but I can find where PHP is installed (sorry for my damn knowledge). Anyone can tell me where it is?[/quote:01e43966f4]

follow the instructions given belwo and that will take care of everything.

start a root session and run the following commands one by one

/scripts/fixheaders

mkdir /home/buildapache-dist

cd /home/buildapache-dist

wget http://layer1.cpanel.net/buildapache.sea

sh buildapache.sea

select the beginner mode

it will compile everything and also upgrade your php and other things. once the whole thing is over.. run the following command

/scripts/restartsrv httpd

-

thats it - you are all set
best regards,
Parag