Apache - mod fcgid: HTTP request length 134816 (so far) exceeds MaxRequestLen: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
 
Строка 15: Строка 15:
 
  # echo "FcgidMaxRequestLen 90000000" >> /etc/httpd/conf.d/fcgid.conf  
 
  # echo "FcgidMaxRequestLen 90000000" >> /etc/httpd/conf.d/fcgid.conf  
 
  # /etc/init.d/httpd restart
 
  # /etc/init.d/httpd restart
 +
или для CentOS 7:
 +
# systemctl restart httpd

Текущая версия на 10:41, 29 июня 2020

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

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
или для CentOS 7:
# systemctl restart httpd