「phpinfo」の版間の差分
提供:MoodleDocs
Mitsuhiro Yoshida (トーク | 投稿記録) (ページの作成: 作成中です - ~~~~ ロケーション: サイト管理 > サーバ > PHP情報 The phpinfo display contains information about the configuration of your PHP installation. Th...) |
Mitsuhiro Yoshida (トーク | 投稿記録) 編集の要約なし |
||
10行目: | 10行目: | ||
__TOC__ | __TOC__ | ||
== | ==PHP情報の表示== | ||
To view the phpinfo information: | To view the phpinfo information: | ||
* In Moodle version 1.7 or greater, choose Site Administration -> Server -> PHP info. | * In Moodle version 1.7 or greater, choose Site Administration -> Server -> PHP info. | ||
20行目: | 20行目: | ||
* Now open this file in your browser. For example <nowiki>http://127.0.0.1/info.php</nowiki>. | * Now open this file in your browser. For example <nowiki>http://127.0.0.1/info.php</nowiki>. | ||
== | ==サンプルアウトプット== | ||
This is a sample output displayed. | This is a sample output displayed. | ||
2009年5月3日 (日) 16:04時点における版
作成中です - Mitsuhiro Yoshida 2009年5月3日 (日) 16:03 (UTC)
ロケーション: サイト管理 > サーバ > 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.
目次
PHP情報の表示
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.
サンプルアウトプット
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