You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Divyank Turakhia <di...@directi.com> on 2002/05/03 11:29:14 UTC
Apache 2.0.35 & PHP 4.1.2 on Redhat 7.2
Hi,
I am trying to compile php using the
'--with-apxs2=/usr/local/apache2/bin/apxs' option
I run the following:
./configure --with-mysql --with-gd --with-jpeg-dir --with-png-dir
--with-ttf --with-tiff-dir --with-png-dir --enable-force-cgi-redirect
--with-openssl --with-zlib --enable-ftp --disable-posix --with-regex=php
-enable-trans-sid --enable-safe-mode --enable-magic-quotes
--with-apxs2=/usr/local/apache2/bin/apxs --disable-rpath --with-dom
--with-expat-dir=/usr
Make
I get the following error:
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.1.2/libtool --silent --mode=compile
/usr/local/src/
php-4.1.2/meta_ccld -I. -I/usr/local/src/php-4.1.2/sapi/apache2filter
-I/usr/lo
cal/src/php-4.1.2/main -I/usr/local/src/php-4.1.2
-I/usr/local/apache2/include -
I/usr/local/src/php-4.1.2/Zend -I/usr/include/libxml2 -I/include
-I/usr/local/sr
c/php-4.1.2/ext/mysql/libmysql -D_REENTRANT
-I/usr/local/src/php-4.1.2/TSRM -DT
HREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:58: too few arguments to function `apr_brigade_create'
sapi_apache2.c:61: too few arguments to function
`apr_bucket_transient_create'
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from
pointer tar
get type
sapi_apache2.c: In function `php_apache_sapi_flush':
sapi_apache2.c:171: too few arguments to function `apr_brigade_create'
sapi_apache2.c:172: too few arguments to function
`apr_bucket_flush_create'
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:245: too few arguments to function `apr_brigade_create'
sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:311: too few arguments to function `apr_brigade_create'
sapi_apache2.c:366: too few arguments to function
`apr_bucket_transient_create'
sapi_apache2.c:375: too few arguments to function
`apr_bucket_eos_create'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:407: `AP_FTYPE_CONTENT' undeclared (first use in this
function)
sapi_apache2.c:407: (Each undeclared identifier is reported only once
sapi_apache2.c:407: for each function it appears in.)
sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter'
from in
compatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1
[root@apache php-4.1.2]#
I ran a many searches on the same and found tht other ppl have faced
this error too. But I couldn't find any way to solve it.
Can anyone tell me how to resolve this issue?
Thanks,
Divyank
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: Apache 2.0.35 & PHP 4.1.2 on Redhat 7.2
Posted by Sebastian Wolfgarten <se...@gmx.net>.
Hi,
use php 4.2.x for apache 2.0.x,
bye,
sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org