The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP location

Discussion in 'General Discussion' started by Sydney, Aug 12, 2002.

  1. Sydney

    Sydney Member

    Joined:
    Apr 30, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. parag

    parag Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    115
    Likes Received:
    0
    Trophy Points:
    16
    [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
     
Loading...

Share This Page