openwrtv4/openwrt/package/php5/files/php.init
Nicolas Thill 0869de5f05 add php5 package
SVN-Revision: 1667
2005-08-14 16:27:48 +00:00

19 lines
200 B
Bash

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