Home > Backend Development > PHP Tutorial > phpinfo() 中 Local Value(局部变量)Master Value(主变量) 的区别_PHP

phpinfo() 中 Local Value(局部变量)Master Value(主变量) 的区别_PHP

WBOY
Release: 2016-05-27 10:37:29
Original
902 people have browsed it

phpinfo() 的很多部分有两个Column:Local Value和Master Value

1. Master Value是PHP.ini文件中的内容。

2.Local value 是当前目录中的设置,这个值会覆盖Master Value中对应的值

由于WEB Sever Config或.htaccess的设置,或程序中ini_set()的设置,当前目录中的设置会不同于PHP.ini文 件中的设置

PS:Apache的配置文件中可以重写php.ini的设置,可能在conf/httpd.conf,也可能在conf.d/***.conf中,一般在conf.d/php.conf中

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template