php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13713 Compilation as an Apache 2 module fails
Submitted: 2001-10-17 08:35 UTC Modified: 2001-10-18 06:12 UTC
From: sms at lateral dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: linux 2.4.12
Private report: No CVE-ID: None
 [2001-10-17 08:35 UTC] sms at lateral dot net
Configure and install Apache 2.0.16 using the following configure command:

./configure --prefix=/usr/local/apache-2/ --enable-dav-fs --enable-dav --enable-rewrite --enable-so

Download PHP from CVS (17th October, 2001, 12:12 GMT) and run ./buildconf, then configure using:

./configure --with-apxs2=/usr/local/apache-2/bin/apxs --with-pgsql --with-mysql=/usr --with-ldap

Compile fails with the following warning:

/bin/sh /home/sms/php4/libtool --silent --mode=compile gcc  -I. -I/home/sms/php4/sapi/apache2filter -I/home/sms/php4/main -I/home/sms/php4 -I/usr/local/apache-2//include -I/home/sms/php4/Zend -I/usr/include/mysql -I/home/sms/php4/ext/xml/expat  -DNO_DBM_REWRITEMAP -D_REENTRANT -I/home/sms/php4/TSRM -g -O2 -pthread -DZTS -prefer-pic  -c sapi_apache2.c
In file included from /usr/local/apache-2/include/apr_buckets.h:61,
                 from /usr/local/apache-2/include/util_filter.h:59,
                 from sapi_apache2.c:33:
/usr/local/apache-2/include/apr_general.h:115: warning: `XtOffsetOf' redefined
/home/sms/php4/main/php.h:345: warning: this is the location of the previous definition
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:252: too many arguments to function `ap_get_brigade'
sapi_apache2.c:259: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:346: too many arguments to function `ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:468: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-17 19:59 UTC] sniper@php.net
Apache2 is still in beta. No use to send any bug reports
concerning it. You should propably get Apache2 also from CVS
to get it to work with PHP CVS.

--Jani

 [2001-10-18 06:12 UTC] sms at lateral dot net
The latest CVS build of Apache 2 (pulled from the dev.apache.org site as file "httpd-2.0_20011018041211.tar.gz") and today's CVS build of PHP (being 18th October, 2001: 11:00 GMT) compile and work together well. Thanks! 

FWIW: this is running on Debian unstable. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 18:01:34 2024 UTC