PHP在上传文件的时候出现错误Internal Server Error
2014-07-30 11:40
483 查看
PHP在上传文件的时候出现错误Internal Server Error
当上传图片大于100K的时候就会出现这种状况!
打开Apache的httpd.conf找到<IfModule mod_fcgid.c>在里面添加如下三行即可!
<IfModule mod_fcgid.c>
FcgidConnectTimeout 20
# to get around upload errors when uploading images increase the MaxRequestLen size to 15MB
MaxRequestLen 15728640
</IfModule>
当上传图片大于100K的时候就会出现这种状况!
打开Apache的httpd.conf找到<IfModule mod_fcgid.c>在里面添加如下三行即可!
<IfModule mod_fcgid.c>
FcgidConnectTimeout 20
# to get around upload errors when uploading images increase the MaxRequestLen size to 15MB
MaxRequestLen 15728640
</IfModule>
相关文章推荐
- Apache + PHP 上传文件时出现Internal Server Error
- php进主页出现:HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。
- php 出现 500 Internal Server Error错误问题解决
- 解决"利用Html5的FileRead接口和Formdata上传文件到appweb服务器"报500(internal server error)错误
- nginx+php上传文件大小控制(500 internal server error)
- php 图片上传 500 Internal Server Error 错误
- nginx出现500 Internal Server Error错误的解决办法
- 在使用updatepanel 时,上传到服务器出现如下错误: Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理请求时出现未知错误。服务器返回的状态码为: 500
- indows server 2008自带的IIS7.0中发布web程序。出现错误提示: HTTP 错误 500.0 - Internal Server error
- 关于Godaddy空间存放DotNet网站出现500 - Internal server error 错误的总结
- <<< php程序在运行后报“internal server error”错误
- 安装Destoon系统出现500 Internal Server Error错误的原因
- 搭建openstack时,出现Request returned failure status. HTTPInternalServerError (HTTP 500) 错误!
- Asp上传文件出现错误。定义SERVER上上传ASP文件的大小!
- HTTP 错误 500.19 – Internal Server Error web.config 文件的 system.webServer/httpErrors 节中不允许绝对物理路径“C:\inetpub\custerr”[转]
- PHP错误The server encountered an internal error or misconfiguration and was unable to complete your re
- 500 Internal server error 部署ASP.NET项目时出现的错误
- Asp.net上传文件限制,在大于5M的时候出现DNS解析错误,解决方法。
- HTTP 错误 500.19 - Internal Server Error 错误代码 0x80070005 由于权限不足而无法读取配置文件
- FCKeditor出现"XML request error: Internal Server Error(500)"错误的解决办法