Displaying php information

From MyWiki
Revision as of 10:10, 6 July 2016 by George2 (Talk | contribs)

Jump to: navigation, search

Displaying phpinfo in Moodle
An administrator can find PHP info in Settings > Site administration > Server > PHP info.

Displaying phpinfo outside of Moodle
To view the phpinfo information:

Create a file called info.php using your text editor, containing this single line:

<?php phpinfo(); ?>

Save this file as info.php
Upload this file into the root web accessible folder on your server.
Now open this file in your browser. For example http://<server-name>/info.php