Add php4 package (Thanks aorlinsk and enzo for the help)
[openwrt.git] / package / php4 / files / php.init
1 #!/bin/sh
2
3 export PHP_FCGI_CHILDREN=''
4 PORT=1026
5 BIN=/usr/sbin/php
6
7 case $1 in
8 start)
9 $BIN -b $PORT &
10 ;;
11 stop)
12 kill `pidof php`
13 ;;
14 *)
15 echo "usage: $0 (start|stop)"
16 exit 1
17 esac
18
19 exit $?
This page took 0.044744 seconds and 5 git commands to generate.