繁体   English   中英

PHP 500内部服务器错误的原因

[英]Reasons of 500 internal server error in php

我正在尝试使用php代码在服务器上上传大图像(1 MB)文件,但它显示500个内部服务器错误,它仅上传了128 KB。 即使我已经检查了服务器的所有必需设置,但所有设置都是正确的,但是我没有找到如何跟踪此错误的信息。是否还有其他我不知道的设置,所以请帮助我找出所有设置是否正确然后请帮助我找出这500个内部服务器错误。

我已经验证的设置。

memory_limit 90M
post_max_size 64M
upload_max_filesize 64M
FcgidMaxRequestLen 104857600

下面是错误:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

使用页面顶部的两行显示错误

ini_set("display_errors", "1");

error_reporting(E_ALL);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM