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 Confusion

Discussion in 'General Discussion' started by Plusbits, Mar 18, 2013.

  1. Plusbits

    Plusbits Registered

    Joined:
    Mar 18, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I have a quick question regarding confusion over the version of PHP that's currently running on my (hosts) server.

    I'm pretty new to all of this, so please bear with me!

    Basically, cPanel is telling me that I'm running PHP version 5.2.17 (left column of settings page), <?php echo phpversion(); ?> tells me it's 5.2.17, however phpMyAdmin is telling me that it's version 3.5.5 (with 3.5.7 available)

    So, my question is: which version am I actually running? I assume it's 5.2.17, but if this is the case, how do I go about updating it in cPanel? Also, how do I update phpMyAdmin as it's telling me that a newer version is available? And finally, can I update to 3.5.7?

    Sorry for all the questions, but as I said I'm pretty new to all of this!

    Thank you very much in advance!
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    If you get 5.2.17 from phpversion() page, then yes; you are running PHP 5.2.17. The PHP version used for phpMyAdmin is the vesion number of cPanel internal PHP, which isn't available for your applications. cPanel's internal PHP is used for the cPanel PHP code / apps.
     
    #2 NixTree, Mar 18, 2013
    Last edited: Mar 18, 2013
  3. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    Version 3.5.5 and 3.5.7 is referring to the version of the PHPMyAdmin software and not PHP itself which you have at 5.2.17.

    cPanel handles the PHPMyAdmin updates and will get updated once they add the latter version.
     
  4. Plusbits

    Plusbits Registered

    Joined:
    Mar 18, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Ah, thank you both very much.

    Is there any way I can update the version of PHP cPanel is running? Or is it a case of waiting?
     
  5. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    If you have root access to your server via WHM, you would go to "Software » EasyApache (Apache Update)" to rebuild your apache/php configuration to change the version numbers.

    If you don't have access, you'd need to talk with your host.
     
Loading...

Share This Page