|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-17 19:59 UTC] sniper@php.net
[2001-10-18 06:12 UTC] sms at lateral dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
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