php - 将 PHP 最大执行时间设置为 600 是否安全?

标签 php vtiger

我正在安装更新版本的 vTiger CRM。先决条件之一是将 php.ini ma​​x_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/

相关文章:

php - MYSQL order by - 遵循一种模式

php - 表单提交后丢失 mysql 连接

database - 非法请求错误,同时使用 IP :PORT on other computer 连接 vtiger crm

php - 使用 while 循环时未显示数据库的第一个结果

php - 在 Laravel 中应用 Eloquent 的 ORM 的最佳方式?

php - 无法追踪逻辑错误

javascript - 当用户单击 JavaScript 警报上的确定按钮时更新表

php - Docker-Compose 不会批量处理我的 php.ini 文件

php - vTiger 网络服务 : Permission to perform the operation is denied for query