ISPManager 5 - AH01220: Timeout waiting for output from CGI script - решение
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
ISPManager 5 - AH01220: Timeout waiting for output from CGI script - решение
При попытке загрузить страницу на сайта с большим числом с строк словили ошибку вида:
AH01220: Timeout waiting for output from CGI script /var/www/php-bin-isp-php74/user12/php, referer: https://site.ru/ Script timed out before returning headers: php, referer: https://site.ru/
Решение - это поднять таймауты проксирования для nginx и таймаут для Apache:
# vi /etc/nginx/nginx.conf http { ..... proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; send_timeout 600; .... }
для Apache:
# vi /etc/httpd/conf/httpd.conf Timeout 300
Рестарт веб-серверов (пример для CentOS 7) и проверяем загрузку страницы:
# systemctl restart exim httpd