将 PHP 最大执行时间设置为 600 安全吗?

发布于 2024-08-22 22:45:01 字数 133 浏览 5 评论 0原文

我正在安装较新版本的 vTiger CRM。先决条件之一是将 php.ini ma​​x_execution_time 编辑为 600,而不是默认的 30。这种设置差距让我怀疑增加执行时间是否安全?尤其是这么多。谢谢。

I'm installing a newer version of vTiger CRM. One of the prerequisites is editing php.ini max_execution_time to 600 instead of the default 30. This gap in settings has me questioning if it's safe to increase the execution time? Especially by so much. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

ˇ宁静的妩媚 2024-08-29 22:45:01

我看不出有什么反对的声音,只要这仅用于维护脚本 - 我认为是这样。某些数据库维护或导入脚本可能需要这么多时间。但日常使用的 CRM 不应该如此。

请记住这一点,来自 PHP 手册 ma​​x_execution_time

您的 Web 服务器可能有其他超时配置,这些配置也可能会中断 PHP 执行。 Apache有Timeout指令,IIS有CGI超时功能。两者都默认为 300 秒。有关具体详细信息,请参阅您的 Web 服务器文档。

I can see nothing speaking against it, as long as this is for maintenance scripts only - which I assume it is. Some database maintenance or import scripts may take this much time. The CRM in everyday use, though, should not.

Just bear this in mind, from the PHP manual on max_execution_time:

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.

德意的啸 2024-08-29 22:45:01

是的,它是安全的,毕竟 vTiger CRM 不想让任何人面临风险,并且也保留其在用户中的使用。 更多信息

Yes, it is safe after all vTiger CRM don't want to put anyone at risk and also retain its usage amongst users. More here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文