[英]custom php.ini / php_value : which takes precedence?
We could override the default php.ini settings using the 我们可以使用。覆盖默认的php.ini设置
PHPINIDir /var/www/web1
directive in <VirtualHost>
decription. <VirtualHost>
指令。
But I have seen php_value
statements which is applied to all the sites in the httpd.conf files. 但我看到
php_value
语句应用于httpd.conf文件中的所有站点。 For example : 例如 :
php_value upload_max_filesize somevalue
Will the general settings like above override the custom php.ini settings? 上面的常规设置是否会覆盖自定义php.ini设置?
Pardon me that I don't have an environment to test this out at present. 请原谅我目前没有环境来测试这个问题。
PHP configuration precedence order is as follows: PHP配置优先顺序如下:
Some (security critical) options can only be set in higher level config files 某些(安全关键)选项只能在更高级别的配置文件中设置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.