Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: PHP info.

PHP info: Difference between revisions

From MoodleDocs
m (→‎PHP Version 4.3.3: Fixed typo)
(content moved to PHP and page redirected)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Location: ''Administration > Server > PHP info''
#redirect [[PHP]]
 
The phpinfo display contains information about the configuration of your PHP installation. This is useful for checking:
* that your PHP installation meets Moodle's system requirements.
* that you have installed the required modules needed for Moodle to work, e.g. the LDAP module for LDAP authentication.
 
==Displaying phpinfo==
To view the phpinfo information:
* In Moodle version 1.7 or greater, choose Site Administration -> Server -> PHP info.
* Create a file called info.php using your text editor, containing this single line:
 
<?php phpinfo(); ?>
 
* Upload this file into your moodle folder on your PC or server.
* Now open this file in your browser. For example <nowiki>http://127.0.0.1/info.php</nowiki>.
 
==Sample output==
This is a sample output displayed:
 
<table border="0" cellpadding="3" width="600">
<tr class="h"><td>
[http://www.php.net/ http://www.php.net]

Latest revision as of 11:15, 15 January 2013

Redirect to: