Manual:Php.ini/zh

php.ini is the PHP configuration file. This file will sometimes need to be modified; e.g. it might be necessary to set  if you get the error "Fatal error: Maximum function nesting level of '100' reached, aborting!" After you make changes, use  to reload the config files without actually killing the webserver and starting it back up.

文件位置
在某些情况下PHP安装会有两个php.ini文件，一个用于处理Web服务器请求的php_sapi模块，另一个用于PHP命令行的二进制.

To find it for the command line binary, use.

For the web module, create a sample php file with this content:

and access it from the web server. It should display a lot of information about your PHP installation, including the location of the php.ini file.

另见

 * Manual:How to debug