/etc/init.d/php-fastcgi: line 39: unexpected EOF while looking for matching `"’
/etc/init.d/php-fastcgi: line 43: syntax error: unexpected end of file
/etc/init.d/php-fastcgi: line 39: unexpected EOF while looking for matching `"’
/etc/init.d/php-fastcgi: line 43: syntax error: unexpected end of file
#! /bin/sh## spawn-fcgi Start and stop FastCGI processes## chkconfig: - 80 20# description: Spawn FastCGI scripts to be used by web servers# Source function library.. /etc/rc.d/init.d/functionsRETVAL=0SPAWNFCGI="/usr/bin/spawn-fcgi"PHPFCGI="/usr/bin/php-cgi"FCGIPORT="9000"FCGIADDR="127.0.0.1"PHP_FCGI_CHILDREN=8PHP_FCGI_MAX_REQUESTS=1000ALLOWED_ENV="PATH USER"USER=nginxGROUP=nginxPIDFILE=/var/run/phpfcgi.pidALLOWED_ENV="$ALLOWED_ENV PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS FCGI_WEB_SERVER_ADDRS"END_ALLOC"case "$1" instart)PHPFCGI_START=$"Starting ${NAME} service: "echo -n $PHPFCGI_START# clean environmentE=for i in $ALLOWED_ENV; do E="$E $i=${!i}"; donedaemon $SPAWNFCGI -a ${FCGIADDR} -p ${FCGIPORT} -u ${USER} -g ${GROUP} -P ${PIDFILE} -C ${PHP_FCGI_CHILDREN} -f ${PHPFCGI}RETVAL=$?;;stop)echo -n "Stopping php-fcgi: "killproc -p $PIDFILE phpfcgiechoRETVAL=$?;;*)echo "Usage: $0 {start|stop|restart}"exit 1esacexit $RETVAL