简体   繁体   English

给php.ini超时值优先于脚本?

[英]Give the php.ini timeout value precedence over a script?

In my framework I have a script overriding my php.ini settings and setting a lower timeout limit. 在我的框架中,我有一个脚本覆盖我的php.ini设置并设置较低的超时限制。

Is there a way to give the php.ini value precedence over script? 有没有办法让php.ini值优先于脚本?

You can outright disable the ini_set() function via the disable_functions option. 您可以通过disable_functions选项直接禁用ini_set()函数。 But otherwise, no. 但否则,不。 you cannot force the .ini settings to override the ini_set overrides otherwise. 您无法强制.ini设置覆盖ini_set覆盖。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM