Apache - mod fcgid: HTTP request length 134816 (so far) exceeds MaxRequestLen

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена

Apache - mod fcgid: HTTP request length 134816 (so far) exceeds MaxRequestLen

При загрузке изображений на CMS DLE при использовании PHP как FastCGI в логах Apache вылаит ошибка:

mod_fcgid: HTTP request length 134816 (so far) exceeds MaxRequestLen (131072), 
referer: http://site.com/engine/ajax/upload.php?area=short_story&author=test&news_id=&wysiwyg=no&rndval=14865554787324


Решение для Debian:

# echo "FcgidMaxRequestLen 90000000" >>/etc/apache2/mods-enabled/fcgid.conf 
# /etc/init.d/apache2 restart 

Решение для CentOS:

# echo "FcgidMaxRequestLen 90000000" >> /etc/httpd/conf.d/fcgid.conf 
# /etc/init.d/httpd restart