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.

Upgraded to PHP5, but version 4.4.4 still shows

Discussion in 'General Discussion' started by mangohead, Nov 16, 2006.

  1. mangohead

    mangohead Member

    Joined:
    Aug 4, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I just tried to upgrade my cpanel server to the newest version of PHP5 (5.2.0).

    Via WHM, I chose Apache Update and loaded my previous config. Checked PHP 5.2.0 and let it update.

    During the script, I had a few of these errors:

    expr: syntax error
    ./configure: test: =: unary operator expected

    However, Apache Update completed. I also updated Zend.

    I did a phpinfo and it showed that I still had PHP 4.4.4. The Cpanel control panel also verified that it was still 4.4.4 that was installed.

    So I did another apache update, this time from the commandline, easyapache. I chose option 7 and PHP 5.2.0. I let the upgrade run and still got the same errors. Apache Update completed and apache restarted.

    However, PHP 4.4.4 is still running.

    Any Idea's? Any help would be appreciated!

    Thanks!
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Check the buildapache log file for any errors:
    /home/cpapachebuild/buildapache/build-log/
     
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
  4. mangohead

    mangohead Member

    Joined:
    Aug 4, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I tried upgrading to PHP 5.1.6 instead and it worked! I guess that will have to do for the meantime..

    Are there many successful cpanel servers running 5.2?? Any particular reason why 5.1.6 would work and 5.2 wouldnt?

    thanks again for the help!
     
Loading...

Share This Page