Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / spawn-fcgi / doc / run-php
blob970573f9e277784ef960154fe7b5609408593a6f
1 #!/bin/sh
2 # Use this as a ./run script with daemontools or runit
3 # You should replace xxx with the user you want php to run as (and www-data with the user lighty runs as)
5 exec 2>&1
6 PHP_FCGI_CHILDREN=2 \
7 PHP_FCGI_MAX_REQUESTS=1000 \
8 exec /usr/bin/spawn-fcgi -n -s /var/run/lighttpd/php-xxx.sock -n -u xxx -U www-data -- /usr/bin/php5-cgi