问题描述
我无法上传大文件。我已经设置了 php.ini
:
$ b $ $ p $ max_execution_time = 3600
max_input_time = 600
memory_limit = 100M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 100M
$ b
返回500错误:处理此指令时发生错误
这是为什么?更重要的是,我该如何修复它? 500错误本身并不是一个错误,它只是一个横幅,某处出现错误!请参阅错误日志以了解详细信息。
看起来这不是一个php问题,而是一个web服务器问题。但我讨厌猜测。最好看看错误日志。
I cannot upload large files. I've set php.ini
as such:
max_execution_time = 3600
max_input_time = 600
memory_limit = 100M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 100M
It returns a 500 error: an error occurred while processing this directive
Why is this? And more importantly, how can I fix it?
500 error is not an error itself, it's just a banner that reads "There is an error somewhere! See error log for the details".
Looks like it's not a php problem, but a web-server one. But I hate to guess anyway. Better to take a look into error log.
这篇关于“处理此指令时发生错误”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!