The difference between the local value (local variable) master value (primary variable) in Phpinfo

Source: Internet
Author: User
Many parts of phpinfo () have two column:local value and master value

1. Master value is the content in the php.ini file.

2.Local value is a setting in the current directory that overrides the corresponding value in master value

The settings in the current directory are different from the settings in the php.ini file because of the settings of the Web Sever config or. htaccess, or the settings of Ini_set () in the program

PHP.ini settings can be overridden in the Ps:apache configuration file, possibly in conf/httpd.conf, or conf.d/***.conf, generally in conf.d/php.conf

The above describes the difference between the local value (local variable) master value (main variable) in Phpinfo, including the contents of the content, I hope that the PHP tutorial interested in a friend helpful.

Related articles:

Why modified php.ini but phpinfo () did not change

How to block out the phpinfo () function

Using 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.