DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12054>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12054
My Money count in the access.log !!!
bojan@rexursive.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
------- Additional Comments From bojan@rexursive.com 2002-09-01 11:03 -------
To have PHP 4.2.2 work under Apache 2.0.40, you have to change around 3 lines in
PHP of code and recompile. Just follow the compiler error messages and it'll be
easy to figure out what's going on. Also, check out PHP site, it could have
someones previous experiences.
Here is the diff between vanilla PHP and the working one on my system:
-------------------------------------------------------------------
Only in /usr/src/php/sapi: .deps
Only in /usr/src/php/sapi: Makefile
Only in /usr/src/php/sapi/apache: .deps
Only in /usr/src/php/sapi/apache2filter: .deps
Only in /usr/src/php/sapi/apache2filter: .libs
Only in /usr/src/php/sapi/apache2filter: Makefile
Only in /usr/src/php/sapi/apache2filter: apache_config.lo
Only in /usr/src/php/sapi/apache2filter: libsapi.la
diff -u --recursive ./apache2filter/php_functions.c /usr/src/php/sapi/apache2fil
ter/php_functions.c
--- ./apache2filter/php_functions.c Sat May 11 19:49:54 2002
+++ /usr/src/php/sapi/apache2filter/php_functions.c Wed Jul 24 16:23:43 2002
@@ -90,7 +90,7 @@
ADD_STRING(method);
ADD_LONG(mtime);
ADD_LONG(clength);
-#if !MODULE_MAGIC_AT_LEAST(20020506,0)
+#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
ADD_STRING(boundary);
#endif
ADD_STRING(range);
Only in /usr/src/php/sapi/apache2filter: php_functions.lo
diff -u --recursive ./apache2filter/sapi_apache2.c /usr/src/php/sapi/apache2filt
er/sapi_apache2.c
--- ./apache2filter/sapi_apache2.c Tue May 7 01:42:23 2002
+++ /usr/src/php/sapi/apache2filter/sapi_apache2.c Mon Aug 12 18:02:22 2002
@@ -531,8 +531,8 @@
ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDD
LE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDL
E);
- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
+ ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOU
RCE);
+ ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURC
E);
}
AP_MODULE_DECLARE_DATA module php4_module = {
Only in /usr/src/php/sapi/apache2filter: sapi_apache2.lo
Only in /usr/src/php/sapi/cgi: .deps
Only in /usr/src/php/sapi/cli: .deps
Only in /usr/src/php/sapi/cli: Makefile
-------------------------------------------------------------------
Don't worry about missing files - they get generated by configure/compile process.
Bojan
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
|