Differences between LocalValue (local variable) MasterValue (main variable) in phpinfo

Source: Internet
Author: User
This article mainly introduces the difference between LocalValue (local variable) MasterValue (main variable) in phpinfo. if you are interested in PHP tutorials, refer to it. Phpinfo ()There are two columns: Local Value and Master Value.

1. Master Value is the content in the PHP. ini file.

2. the Local value is the setting in the current directory. this Value will overwrite the corresponding value in the Master Value.

Because of the settings of WEB Sever Config,. htaccess, or ini_set () in the program, the settings in the current directory are different from those in the PHP. ini file.

PS: You can rewrite php in the Apache configuration file. ini settings may be in conf/httpd. conf, or in conf. d /***. conf, usually in conf. d/php. conf

The above introduces the differences between the Local Value (Local variable) Master Value (main variable) in phpinfo, including some content, and hopes to help friends who are interested in PHP tutorials.

Related articles:

Why does phpinfo () remain unchanged after php. ini is modified?

How to block the phpinfo () function

Use PHPINFO to implement the PHP configuration Statistics process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.