I would like to install a php based webapp on my server but during the install I get a »500 Internal Error«. On my search through the web I could figure out that this happens because the setup of my server uses FastCGI for PHP. The error comes to happen, because the script time out is too short and there might also be an issue with the amount of available ram for the php. So my question is:
How can I increase the timeout and probably other resources for php with FastCGI. Could
/etc/apache2/mods-available/fcgid.conf be the place to go?
Additionally, in the applications
.htaccess I could find these to lines, but uncommenting them gave me »404 Not Found:«
# Action php5-cgi /cgi-bin/php5-cgi # AddHandler php5-cgi .php
Thanks in ahead!
/var/log/apache2/error.log gave me this:
[Fri Nov 22 12:51:07 2013] [notice] mod_fcgid: call /home/xxxx/public_html/index.php with wrapper /home/xxxx/fcgi-bin/php5.fcgi PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cgi/conf.d/mcrypt.ini on line 1 in Unknown on line 0 [Fri Nov 22 12:51:49 2013] [warn] mod_fcgid: process 377 graceful kill fail, sending SIGKILL [Fri Nov 22 12:51:55 2013] [notice] mod_fcgid: process /home/xxxx/public_html/info.php(377) exit(communication error), get stop signal 9
What could that mean?