Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    105
    Likes Received:
    0
    Trophy Points:
    166
    cp /usr/local/bin/php /usr/bin/
     
  3. jdearing

    jdearing Active Member

    Joined:
    Nov 6, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice