What version of PHP do your servers use?

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-

  • 50 Users Found This Useful
Was this answer helpful?

Related Articles

What file extension must php files have?

PHP files must have the .php extension in order to be recognized as PHP files by the server.

Can I run PHP scripts in CGI mode?

Yes, in addition to the default mod_php processing unit we also have the php executable...

Powered by WHMCompleteSolution