php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8410 php4 & newest 2.0a9 apache "misalignment"
Submitted: 2000-12-24 20:21 UTC Modified: 2001-03-09 21:28 UTC
From: nathan at world dot pl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: redhat 7.0 (kern. 2.2.16).
Private report: No CVE-ID: None
 [2000-12-24 20:21 UTC] nathan at world dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-24 21:15 UTC] nathan at world dot pl
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
 [2001-01-11 11:49 UTC] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ as this should be fixed.

--Jani
 [2001-03-09 21:28 UTC] sniper@php.net
no feedback.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC