xorg-server does not build on avr32
[openwrt/svn-archive/archive.git] / lang / php5 / files / php.init
1 #!/bin/sh
2
3 export PHP_FCGI_CHILDREN=''
4 PORT=1026
5 BIN=/usr/bin/php-fcgi
6
7 case $1 in
8 start)
9 $BIN -b $PORT &
10 ;;
11 stop)
12 kill `pidof php-fcgi`
13 ;;
14 *)
15 echo "usage: $0 (start|stop)"
16 exit 1
17 esac
18
19 exit $?