Print PHP version

08 February 2009 | Tips & Tricks | Tags:

Since alot of friends ask me how to print out which PHP version they are using I decide to write how to do it here on my blog. It is very simple and will just take a few seconds.

Start with creating a new PHP document, for example: phpinfo.php

In the document you simply write:

<?PHP

phpinfo();

?>

And save. Only thing left is to open the page. So, access to your phpinfo.php file and you will be given all the information about your PHP-version.


Leave a Reply