PHP 4.0 Bug #8410 Updated: php4 & newest 2.0a9 apache "misalignment"
| From: | nathan at world dot pl | Date: | Mon, 25 Dec 2000 02:15:59 +0000 |
| Subject: | PHP 4.0 Bug #8410 Updated: php4 & newest 2.0a9 apache "misalignment" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42239@lists.php.net to get a copy of this message | ||
ID: 8410
User Update by: nathan@world.pl
Status: Open
Bug Type: Compile Failure
Description: php4 & newest 2.0a9 apache "misalignment"
when compiling with apache 2.0a9 two things have to be changed in php's source and makefile so
that php will compile as apxs2 module
a) in makefile an include dir to apache_dir/include/apr-util has to be added - otherwise ap_hooks.h
and ap_bucktes.h won't be found
b) in sapi/apache2filter/php_functions.c in line 49 in the call to ap_sub_req_lookup_uri there has
to be added a third argument to the function - NULL obviously. :)
after this two changes everything compiles OK, but
when starting apache it report an fatal error saying "unresolved symbol: uncompress"
regarding libphp4.so. with this one i cannot handle
Marcin Galczynski
Previous Comments:
---------------------------------------------------------------------------
[2000-12-24 20:21:03] nathan@world.pl
Due to changes in apache 2.0a9 two things have to
be changed in php's source and makefile so that php will
compile as apxs2 module
a) in makefile an include dir to apache_dir/include/apr-util has to be added - otherwise ap_hooks.h
and ap_bucktes.h won't be found
b) in sapi/apache2filter/php_functions.c in line 49
in the call to ap_sub_req_lookup_uri there has to be added
a third argument to the function - NULL obviously. :)
after this two changes everything compiles OK and even works.
good luck
Marcin Galczynski
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8410