HOW TO: Test Apache and PHP configuration

Last modified: February 10, 2020
You are here:
Estimated reading time: < 1 min

How to test the Apache and PHP configuration

Q. Test Apache and PHP configuration : 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:




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

Was this article helpful?
Dislike 0
Views: 64