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 version??

Discussion in 'General Discussion' started by jdearing, Aug 30, 2007.

  1. jdearing

    jdearing Active Member

    Joined:
    Nov 6, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    When I ssh into my server and from the command line type php -v it shows version 4.4.6, when I do phpinfo.php file, it shows version 5.2.3
     
  2. Misiek

    Misiek Well-Known Member

    Joined:
    Feb 23, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    cp /usr/local/bin/php /usr/bin/
     
  3. jdearing

    jdearing Active Member

    Joined:
    Nov 6, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Thanks.. Actually I needed to do just the opposite though to get both to 5.2.3..

    cp /usr/bin/php /usr/local/bin
     
Loading...

Share This Page