port php4 to -ng

git-svn-id: svn://svn.openwrt.org/openwrt/packages@4958 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-08 09:37:32 +00:00
parent 5ae8666ca8
commit 2b7e4abd63
6 changed files with 18763 additions and 0 deletions

19
lang/php4/files/php.init Normal file
View File

@ -0,0 +1,19 @@
#!/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 $?