|If you're running suPhp and have a script that takes time to run, and get a 500 internal server error, and your logs say:|
Script timed out before returning headers: script.php, refererer http://....then edit:
/etc/httpd/conf/extra/httpd-default.confFind this line:
Timeout 60and change it to a larger value, such as:
Timeout 300and restart httpd. You'll need to lock the file to prevent CustomBuild from changing it:
chattr +i /etc/httpd/conf/extra/httpd-default.confand you can use -i to unlock it.
|Locking files at the system level|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST