Plusbits

Registered
Mar 18, 2013
2
0
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!
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
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.
 
Last edited:

kdean

Well-Known Member
Oct 19, 2012
407
82
78
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.
 

Plusbits

Registered
Mar 18, 2013
2
0
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?
 

kdean

Well-Known Member
Oct 19, 2012
407
82
78
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.