phpinfo
提供:MoodleDocs
作成中です - Mitsuhiro Yoshida 2009年5月3日 (日) 16:03 (UTC)
ロケーション: サイト管理 > サーバ > PHP情報
phpinfoの表示には、あなたのPHPインストレーションに関する情報が含まれています。これは、次の内容確認に有用です:
- あなたのPHPインストレーションがMoodleのシステム要件に合致するかどうか。
- あなたがMoodleの動作に必要な拡張モジュールをインストールしたかどうか。例) LADP認証のためのLDAP拡張モジュール
目次
PHP情報の表示
PHP情報を閲覧するには:
- Moodle 1.7以降のバージョンでは、「サイト管理 > サーバ > PHP情報」を選択してください。
- あなたのテキストエディタを使用して、以下の行を含んだ「info.php」という名称のファイルを作成してください:
<?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.
サンプルアウトプット
This is a sample output displayed.
=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.
関連情報
- PHP reference describing the core PHP.INI directives