March 30th, 2011, 01:34 AM
Strange: Phpinfo shows different version compare to cpanel!
I get 2 different results from phpinfo and cpanel ( for the same website!!!!).
phpinfo says: PHP Version 4.4.8
cpanel says: PHP version 5.2.12
I know the 4.4.8 is correct cause my classes do not work!
1 - How can I change the version from 4.4.8 to 5.2.12 ?
2 - Why are they different?
March 30th, 2011, 03:16 AM
It's not uncommon to have multiple PHP installations on a machine. Especially having PHP 4 and 5 on a shared environment.
Look in cPanel for settings you can change, or contact your web hosting provider for help.
March 30th, 2011, 03:39 AM
on some shared systems where both are installed one uses .php extensions as PHP4 and .php5 extensions for PHP5.
March 30th, 2011, 08:56 PM