"php5",
"php4",
- "php-cgi",
-+ "php.cgi",
++ "php.fcgi",
#else
"PHP.EXE",
#endif
+--- cherokee-0.9.4/configure.in.orig 2008-10-09 13:41:48.000000000 +0200
++++ cherokee-0.9.4/configure.in 2008-10-21 01:20:27.000000000 +0200
+@@ -1145,13 +1145,7 @@
+ if test "x$PHPCGI" = "x"; then
+ AC_MSG_RESULT([no])
+ else
+- $PHPCGI -v | grep 'cgi-fcgi' >/dev/null 2>/dev/null
+- if test $? != 0; then
+- PHPCGI=""
+- AC_MSG_RESULT([no])
+- else
+- AC_MSG_RESULT([yes])
+- fi
++ AC_MSG_RESULT([yes])
+ fi
+
+ if test "x$PHPCGI" = "x"; then
# it offers no stdout/stderr logging. workaround
exec 2>>/var/log/cherokee/cherokee.log
exec 1>&2
- start-stop-daemon --start --exec /usr/sbin/cherokee-guardian -- -b
+ start-stop-daemon --start --pidfile /var/run/cherokee.pid --oknodo -b --exec /usr/sbin/cherokee
)
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
if [ -f /var/lock/subsys/cherokee ]; then
# Stop daemons.
msg_stopping "Cherokee Web Server"
- start-stop-daemon --stop --pidfile /var/run/cherokee-guardian.pid --oknodo --exec /usr/sbin/cherokee-guardian
+ start-stop-daemon --stop --pidfile /var/run/cherokee.pid --oknodo --exec /usr/sbin/cherokee
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/cherokee >/dev/null 2>&1