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.

Two versions of PHP ??

Discussion in 'General Discussion' started by Leandro, Oct 23, 2006.

  1. Leandro

    Leandro Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Argentin
    cPanel Access Level:
    DataCenter Provider
    Hi, i have a big doubt , if a i do a php -v in the shell i received:


    root@server [/]# php -v
    PHP 4.4.2 (cli) (built: Jun 23 2006 14:47:23)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies


    But doing a phpinfo in the server the version of the php is the 5.0.5

    What is wrong ??

    Cheers everybody!!
     
  2. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    which php; \
    /usr/local/bin/php -v; \
    /usr/bin/php -v
    
    I'd suggest making sure your cpanel is up to date and then running /scripts/easyapache and upgrading to php 5.1.6
     
Loading...

Share This Page