Knowledgebase: Linux Server
HOW TO: Test Apache and PHP configuration
Posted by on 21 June 2018 01:19 PM

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

(0 vote(s))
Helpful
Not helpful

Comments (0)
Copyright © 1998 - 2021 Shinjiru International Inc. All Rights Reserved.