unread
Hi,
some people (like me) still have to use Apache 1.3; I can't compile
PHP-5.4 with Apache-1.3, because of a change in revision 305276.
svn diff -c305276 main/SAPI.h
Index: main/SAPI.h
--- main/SAPI.h (revision 305275)
+++ main/SAPI.h (revision 305276)
@@ -251,6 +251,7 @@
char *executable_location;
int php_ini_ignore;
-
int php_ini_ignore_cwd; /* don't look for php.ini in the current directory */ int (*get_fd)(int *fd TSRMLS_DC);
But in sapi/apache/mod_php5.c the struct didn't get updated; with this
simple patch it compiles again:
svn diff sapi/apache/mod_php5.c
Index: sapi/apache/mod_php5.c
--- sapi/apache/mod_php5.c (revision 312006)
+++ sapi/apache/mod_php5.c (working copy)
@@ -499,6 +499,7 @@
NULL, /* treat data /
NULL, / exe location /
0, / ini ignore */
-
0, /* ini ignore cwd */ sapi_apache_get_fd, sapi_apache_force_http_10, sapi_apache_get_target_uid,
KP