Apache proxy_fcgi – The Timeout Specified Has Expired on RHEL
Hello guys. In this article, I’m going to share how to fix the timeout issue of Apache PHP-FPM.
Table of Contents
- Installation
- PHP-FPM
- Non PHP-FPM
- Restart Webserver
Installation
First, install mod_fcgid:
PHP-FPM
If you are using PHP-FPM, then follow this solution. Open or create a conf file:
Then add these lines and save:
1200 seconds = 20 minutes. You can set your desired value.
Non PHP-FPM
If you are not using PHP-FPM, then follow this solution. Open fcgid.conf file:
Then add lines and save:
Restart Webserver
Now restart webserver:
That’s all. Thanks for reading. ?
Tags:
Linux