“处理此指令时发生错误” [英] "An error occurred while processing this directive"

查看:182
本文介绍了“处理此指令时发生错误”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法上传大文件。我已经设置了 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.

这篇关于“处理此指令时发生错误”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆