Annotation of embedaddon/spawn-fcgi/doc/run-php, revision 1.1

1.1     ! misho       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)
        !             4: 
        !             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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>