PHP Test Script (phpinfo)

To see whether PHP is running on the web server, you can create a simple script which will self generate a page full of PHP information.

It will give you the following information:

** System information

  • Build date
  • Server API
  • Virtual directory support
  • Path to PHP.ini
  • Additional configuration files
  • Additional used configuration files
    Others….**

Simply create a file called “info.php” with the following code:

<?php
phpinfo();
?>

And you are done.