我正在安装更新版本的 vTiger CRM。先决条件之一是将 php.ini max_execution_time 编辑为 600 而不是默认的 30。这种设置上的差距让我怀疑增加执行时间是否安全?特别是这么多。谢谢。
最佳答案
我看不出有什么反对意见,只要这仅用于维护脚本——我假设是这样。一些数据库维护或导入脚本可能会花费这么多时间。但是,日常使用的 CRM 不应该。
记住这一点,来自 max_execution_time 上的 PHP 手册:
Your web server can have other timeout configurations that may also interrupt PHP execution. Apache has a Timeout directive and IIS has a CGI timeout function. Both default to 300 seconds. See your web server documentation for specific details.
关于php - 将 PHP 最大执行时间设置为 600 是否安全?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2306189/