What version of PHP

I was asked how to get the version of PHP , this was due to the minimum requirements of a script stating PHP 5 and  a user wanted to know how he could check what his host supplied.

This is the simplest version, save as version.php, upload and  then open it in your web browser.

<?php
echo phpversion();
?>

On my XAMPP installation it displayed 5.2.6

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*