diff --git a/install/tpl/apache_ispconfig_fcgi_starter.master b/install/tpl/apache_ispconfig_fcgi_starter.master
index 7e774225a1b3b193c3669060e6135f0622b0a1a4..1d7262a573b0b26e69e8d1d8f5dcbb865e3c738d 100644
--- a/install/tpl/apache_ispconfig_fcgi_starter.master
+++ b/install/tpl/apache_ispconfig_fcgi_starter.master
@@ -1,6 +1,6 @@
 #!/bin/sh
 PHPRC=/etc/php5/cgi/
 export PHPRC
-exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
 export PHP_FCGI_MAX_REQUESTS=5000
-export PHP_FCGI_CHILDREN=8
\ No newline at end of file
+export PHP_FCGI_CHILDREN=8
+exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
\ No newline at end of file