php.ini is searched in these locations (in order)

[ 2006-05-25 14:54:11 | 作者: admin ]
字号: | |
设置php的配置文件
到php的官网查了一下php.ini的资料http://www.php.net/configuration

php.ini is searched in these locations (in order):

SAPI module specific location (PHPIniDir directive in Apache 2, -c command line option in CGI and CLI, php_ini parameter in NSAPI, PHP_INI_PATH environment variable in THTTPD)

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath (Windows Registry location)

The PHPRC environment variable

Current working directory (for CLI)

The web server's directory (for SAPI modules), or directory of PHP (otherwise in Windows)

Windows directory (C:\windows or C:\winnt) (for Windows), or --with-config-file-path compile time option
评论Feed 评论Feed: http://blog.xg98.com/feed.asp?q=comment&id=620

这篇日志没有评论。

此日志不可发表评论。