Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
-
example.com website shows
502 Bad Gateway
error. - The following error is recorded in Domains > example.com > Logs or in
/var/www/vhosts/example.com/logs/error_log
file when reproducing the issue:
CONFIG_TEXT: AH01075: Error dispatching request to : (polling)
Cause
Website's PHP code is taking too long to execute and exceeds the timeout limit.
Resolution
Increase the PHP timeout limits:
2. Add the following lines to Domains > example.com > PHP Settings > Additional configuration directives:
CONFIG_TEXT: fastcgi_send_timeout 120s;
fastcgi_read_timeout 120s;
Or increase the values if they are already configured
Comments
0 comments
Please sign in to leave a comment.