设置更改后 PHP 上传超时,GoDaddy?
我已将 php.ini 中的设置更改为:
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
但我的脚本仍然超时。我已经编写了一些代码,如果大小太大,上传就会失败,但上传会在到达该点之前超时。我可以使用什么其他代码来完全禁用超时,我上传的文件不到 3mb,所以不是很大?
TIA
I've changed the settings in my php.ini to:
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
But my script is still timing out. I've written in some code to fail the upload if the size is to large, but the upload timesout before it gets to that point. What other code can I use to fully disable the timeout, the file I'm uploading is just under 3mb so not huge?
TIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请尝试以下操作:
Try the following: