ftimme
2009-01-28 0d2db5a97a483388c1e9ded61eb01e965f69dd41
- ISPConfig's fcgi_starter script had two PHP_FCGI_MAX_REQUESTS variables; I removed one of them. In addition to that I added "-d magic_quotes_gpc=off" to the PHP executable to turn off magic_quotes_gpc.
1 files modified
8 ■■■■■ changed files
install/tpl/apache_ispconfig_fcgi_starter.master 8 ●●●●● patch | view | raw | blame | history
install/tpl/apache_ispconfig_fcgi_starter.master
@@ -1,8 +1,6 @@
#!/bin/sh
PHPRC=/etc/php5/cgi/
export PHPRC
exec /usr/lib/cgi-bin/php
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
export PHP_FCGI_CHILDREN=8
export PHP_FCGI_MAX_REQUESTS=500
exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=8