简体   繁体   English

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

[英]Reasons of 500 internal server error in php

I am trying to upload the large image(1 MB) files on server using php code but it is showing the 500 internal server error it is only uploading up to 128 KB. 我正在尝试使用php代码在服务器上上传大图像(1 MB)文件,但它显示500个内部服务器错误,它仅上传了128 KB。 Even though i have checked all the required setting of my server all settings are correct i am not getting how to trace this error.Is there any other setting which i don't know so please help me to find out or if all settings is fine then please help me trace out this 500 internal server error. 即使我已经检查了服务器的所有必需设置,但所有设置都是正确的,但是我没有找到如何跟踪此错误的信息。是否还有其他我不知道的设置,所以请帮助我找出所有设置是否正确然后请帮助我找出这500个内部服务器错误。

Settings which i have already verified. 我已经验证的设置。

memory_limit 90M
post_max_size 64M
upload_max_filesize 64M
FcgidMaxRequestLen 104857600

Below is the error: 下面是错误:

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.

Use two lines at the top of the page to display errors 使用页面顶部的两行显示错误

ini_set("display_errors", "1");

error_reporting(E_ALL);

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

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