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