Browse Source

adds fpm for devel

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1048 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
30f48a64f4
  1. 23
      devel/run

23
devel/run

@ -117,6 +117,7 @@ for i in ~/src/php/$phpbasename/sapi/cgi/php{,-cgi}; do
fi
done
ln -sf ~/src/php/$phpbasename/sapi/cli/php php-cli
ln -sf ~/src/php/$phpbasename/sapi/fpm/php-fpm php-fpm
case "$type" in
phpize)
@ -162,15 +163,21 @@ case "$basename" in
exit 1
;;
*)
cmd=(./php-cgi -q -c devel.ini)
"${cmd[@]}" -v || true
;;
esac
case "${args[0]}" in
fcgi)
cmd=(./php-cgi -q -c devel.ini)
args=(-b 1026)
;;
fpm)
cmd=(./php-fpm -c devel.ini)
args=(-y devel.fpm)
;;
*)
cmd=(./php-cgi -q -c devel.ini)
;;
esac
case "${args[0]}" in
fcgi)
args=(-b 1026)
;;
"${cmd[@]}" -v || true
esac
case "$type" in

Loading…
Cancel
Save