PDA

View Full Version : incorrect php version


Hostultrix
06-21-2005, 10:41 AM
This is odd. I upgraded to PHP 5.0.4, but yet when I go into CPanel it displays 4.3.11. I have no idea why this might be so. Any ideas?

veena
06-21-2005, 07:53 PM
Login to ssh as root and run
php -v
this will show you the correct version running on your vps.
If you need more help, just open a support ticket.

Hostultrix
06-21-2005, 07:57 PM
Oh it's definitely running 5.0.4, :), justn ot displaying the correct version, unfortunately. Which is kind of bad, since new clients may think we lied about having php5, lol. It happened to me on my old vps too, but then it fixed itself somehow. I have no idea.

Robert
06-22-2005, 05:11 PM
Just so you know, CPanel has it's OWN version of Apache/PHP. That's how you can access WHM when say Apache fails. CPanel updates it's own version as it sees fit. lol.

Hostultrix
06-22-2005, 05:20 PM
Ah ok, so is that the version it is reporting in the stats on the front cpanel page?

Robert
06-22-2005, 05:21 PM
It should be. The ultimate check as Veena said was the php -v command. You can also check a phpinfo script (create a script with "<? phpinfo(); ?>" in it and run it). It should give you the correct version as well as any optimizers you have installed (Zend, EAcellerator, Ioncube, etc.)

Hostultrix
06-22-2005, 05:24 PM
Yeah I know that, it is just a little bit uncomfortable when I get a new client, and they log into cpanel and see 4.3.11 instead of 5.0.4. :)