Hinweis: Sie sind auf den Seiten der Moodle 1.9 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: PHP-Informationen.

PHP-Informationen: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
(Initialkopie der englischen Vorlage)
Zeile 1: Zeile 1:
{{Zum Übersetzen}}
{{Zum Übersetzen}}
Siehe [[:en:phpinfo]]
{{Manfred}}
Zu finden unter: ''Website-Administration > Server > PHP-Informationen''


Die PHP-Informationsseite zeigt Ihnen die Konfiguration Ihrer PHP-Installation. Dies ist nützlich zur Überprüfung,
* ob Ihre PHP Installation die Systemvoraussetzungen für ein Moodle System erfüllt
* ob Sie alle für ein bestimmtes Plugin erforderlichen Module installiert haben, z.B. zusätzlich das LDAP-Modul von PHP für die LDAP-Authentifizierung
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.
==Table of contents==
__TOC__
==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]
<nowiki>=PHP Version 4.3.3= </nowiki>
</td></tr>
</table><br/>
<table border="0" cellpadding="3" width="600">
<tr><td class="e">System </td><td class="v">Windows NT MYLAPTOP0106 5.1 build 2600 </td></tr>
<tr><td class="e">Build Date </td><td class="v">Aug 24 2003 22:01:16 </td></tr>
<tr><td class="e">Server API </td><td class="v">Apache </td></tr>
<tr><td class="e">Virtual Directory Support </td><td class="v">enabled </td></tr>
<tr><td class="e">Configuration File (php.ini) Path </td><td class="v">C:\WINDOWS\php.ini </td></tr>
<tr><td class="e">PHP API </td><td>20020918 </td></tr>
<tr><td class="e">PHP Extension </td><td>20020429 </td></tr>
<tr><td class="e">Zend Extension </td><td>20021010 </td></tr>
<tr><td class="e">Debug Build </td><td>no </td></tr>
<tr><td class="e">Thread Safety </td><td>enabled </td></tr>
<tr><td class="e">Registered PHP Streams </td><td>php, http, ftp, compress.zlib</td></tr>
</table>
...
This output goes on for about 5 pages.
==See also==
* [http://www.php.net/ini.core PHP reference] describing the core PHP.INI directives
[[Category:Developer|Phpinfo]]
[[Category:Administrator]]
[[Category:Administrator]]
[[en:phpinfo]]
[[en:phpinfo]]
[[es:phpinfo]]
[[fr:phpinfo]]

Version vom 4. Oktober 2009, 13:21 Uhr

Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.

Baustelle.png Diese Seite wird derzeit von Manfred Roos übersetzt. Bei Änderungsvorschlägen nehmen Sie bitte direkt Kontakt mit dem Übersetzer auf.

Zu finden unter: Website-Administration > Server > PHP-Informationen

Die PHP-Informationsseite zeigt Ihnen die Konfiguration Ihrer PHP-Installation. Dies ist nützlich zur Überprüfung,

  • ob Ihre PHP Installation die Systemvoraussetzungen für ein Moodle System erfüllt
  • ob Sie alle für ein bestimmtes Plugin erforderlichen Module installiert haben, z.B. zusätzlich das LDAP-Modul von PHP für die LDAP-Authentifizierung

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.

Table of contents

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 http://127.0.0.1/info.php.

Sample output

This is a sample output displayed.


http://www.php.net

=PHP Version 4.3.3=


System Windows NT MYLAPTOP0106 5.1 build 2600
Build Date Aug 24 2003 22:01:16
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib

...

This output goes on for about 5 pages.

See also