将 PHP 最大执行时间设置为 600 安全吗?
我正在安装较新版本的 vTiger CRM。先决条件之一是将 php.ini max_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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我看不出有什么反对的声音,只要这仅用于维护脚本 - 我认为是这样。某些数据库维护或导入脚本可能需要这么多时间。但日常使用的 CRM 不应该如此。
请记住这一点,来自 PHP 手册 max_execution_time:
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:
是的,它是安全的,毕竟 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.