在数字海洋服务器手册部署上更改MAX_EXECUTION_TIME
我将应用程序部署到了数字海洋服务器,但是最大执行时间出现了错误吗? 我的问题是如何在不创建液滴的情况下在数字海洋中编辑php.ini最大执行时间,而这是手动部署?
我尝试了其他解决方案,例如将user.ini添加到根文件夹中,并将其设置为user.ini文件中的0。我尝试的另一个解决方案是通过键入此命令在数字海洋控制台中找到php.ini。
php -i | GREP php.ini
,它为我提供了输出
配置文件(php.ini)path => /app/.heroku/php/etc/php加载配置文件=> /app/.heroku/php/etc/php/php.ini
,当我尝试访问php.ini时,拒绝了许可。
我遇到了将近3天的问题,任何帮助或建议都将高度赞赏。
I deployed my app to digital ocean server but there are error in max execution time out?
My question is how to edit the php.ini max execution time out in digital ocean without droplet created and it is a manual deployment?
I tried different solution like adding user.ini to the root folder and set it to 0 inside the user.ini file. Another solution i tried is locating the php.ini in digital ocean console by typing this command.
php -i | grep php.ini
and it gives me the output
Configuration File (php.ini) Path => /app/.heroku/php/etc/php Loaded configuration File => /app/.heroku/php/etc/php/php.ini
And when i tried to access the php.ini it says Permission Denied.
Im stucked with almost 3 days of this problem any help or suggestion would highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用
ini_set
将其从应用程序更改。这里 link to docYou can try to change it from the app using
ini_set
. Here link to doc