当前位置:论坛首页 > Windows面板 > 求助

[已解决]网站后台无法上传图片和文件!!

发表在 Windows面板2017-9-15 11:28 [复制链接] 0 6545

本帖最后由 bbangry 于 2017-9-15 14:36 编辑

服务器:windows server 2008环境:APACHE2.4 PHP5.3 Mysql5.6
操作:上传图片提示以下错误!


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
==============================================
PS:不知道为什么不能回复此主题,内部错误。
只好在这里写解决方案了。

==============================================
APACHE2.4上传大小限制默认值为128KB,需要手动设置。
解决方案:编辑APACHE的httpd.conf文件,添加一行:MaxRequestLen 10240000即可。意为上传文件最大限制为10M。可以根据需求调大或调小。




使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表