Test Apache and PHP configuration with php info script

Written by
Date: 2015-01-01 08:25:20 00:00


How to test the Apache and PHP configuration

Q. How can I be sure that my PHP server is working? and How to know the version and modules enabled?

A. You can create a simple PHP script and load it from your browser in order to know the version of PHP and modules you are running.

To do that follow this steps.

vim phpinfo.php

And paste inside that file these contents:

<?php

	phpinfo();

?>

Then go to: http://your-server/path/phpinfo.php