packages/lang/php5/files/php.init
pavlov 90c8b53715 update to php 5.2.3, bugfixes and security fixes... note, the binaries have changed names slightly for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 19:08:20 +00:00

20 lines
209 B
Bash

#!/bin/sh
export PHP_FCGI_CHILDREN=''
PORT=1026
BIN=/usr/bin/php-fcgi
case $1 in
start)
$BIN -b $PORT &
;;
stop)
kill `pidof php-fcgi`
;;
*)
echo "usage: $0 (start|stop)"
exit 1
esac
exit $?