We use PHP 5 We upgrade to the latest version of PHP regularly to ensure hassle-free development and security.
There are several ways how you can check the version of PHP running on ourweb server.
If you already are comfortable in writing a PHP file, you can simply create a php file with this content in it:
<?
phpinfo();
?>
Say you named it phpinfo.php, you would just need to point your browser to:
http://www.[yourdomain].com/phpinfo.php
You will see a long page diplaying the version of your PHP that you are running, the different modules that were built when the PHP was compiled, etc.
The other way check the version of your PHP is by going to Shell and type:
php --version
It will immediately tell you what version of PHP that is on the server.
-updated on 01-jan-2010-