Skip to content

Commit 0d2db5a

Browse files
committed
- 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 parent 9787a04 commit 0d2db5a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/sh
22
PHPRC=/etc/php5/cgi/
33
export PHPRC
4-
exec /usr/lib/cgi-bin/php
5-
PHP_FCGI_MAX_REQUESTS=5000
6-
export PHP_FCGI_MAX_REQUESTS
7-
export PHP_FCGI_CHILDREN=8
8-
export PHP_FCGI_MAX_REQUESTS=500
4+
exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
5+
export PHP_FCGI_MAX_REQUESTS=5000
6+
export PHP_FCGI_CHILDREN=8

0 commit comments

Comments
 (0)