[PHP-DEV] PHP 4.0 Bug #8410: php4 & newest 2.0a9 apache "misalignment" From: nathan <email protected>
Date: 12/24/00

From: nathan <email protected>
Operating system: linux 2.2.15 kernel
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: php4 & newest 2.0a9 apache "misalignment"

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

-- 
Edit Bug report at: http://bugs.php.net/?id=8410&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>