]> git.pld-linux.org Git - packages/cherokee.git/blobdiff - cherokee-php-path.patch
- P: webserver(indexfile) (required by mailman)
[packages/cherokee.git] / cherokee-php-path.patch
index 6e29c276d516e8ea4c773655c6d0ecd4c7f74ff5..325f260f6b1bcfef612c1e5e743b20a060d1506d 100644 (file)
@@ -1,21 +1,17 @@
---- cherokee-0.4.29/cherokee/handler_phpcgi.c~ 2005-11-05 12:18:17.000000000 +0200
-+++ cherokee-0.4.29/cherokee/handler_phpcgi.c  2005-12-31 16:40:31.000000000 +0200
-@@ -55,16 +55,12 @@
- static char *php_paths[] = {
--      "/usr/lib/cgi-bin/",
--      "/usr/local/bin/",
-+      "/usr/bin/",
-       NULL
- };
- static char *php_names[] = {
--      "php", 
--      "php5", 
--      "php4", 
--      "php3",
-+      "php.cgi", 
-       NULL
- };
+--- cherokee-0.99.29/configure.in.orig 2009-11-16 17:42:47.000000000 +0100
++++ cherokee-0.99.29/configure.in      2009-11-28 02:11:19.000000000 +0100
+@@ -1281,13 +1281,7 @@
+ if test "x$PHPCGI" = "x"; then
+    AC_MSG_RESULT([no])
+ else
+-   $PHPCGI -v -d session.save_path=/tmp | 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
This page took 0.065678 seconds and 4 git commands to generate.