mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add php5 package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1667 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
19
package/php5/files/php.init
Normal file
19
package/php5/files/php.init
Normal 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 $?
|
||||
Reference in New Issue
Block a user