Ini_setini_get function ----- PHP. When configuring the PHP environment, we remember that the first step was to modify php. ini file, but when we run the script in the virtual machine, or we haven't modified php for other reasons. when configuring the PHP environment with ini permission, we remember that the first step was to modify php. ini file, but when we run the script in the virtual machine, or we haven't modified php for other reasons. what should we do when the ini permission is limited?
The ini_set () function provides a method to dynamically modify php. ini in the script, and the modification fails after the script is executed. Therefore, it is often used in program configuration.
The ini_set function receives two parameters: the original configuration item name and the new value of the configuration item. The cooperation between ini_set and ini_get is appropriate, for example:
Not all configuration items can be set with ini_set. for details, see the appendix.
For more details, see php.net.
...