Apache 2.x and PHP is still experimental.  Instead, use PHP 4.2.3 and
Apache 1.3.27.

~Jim

Jim Thome
Web Technology Administrator
[EMAIL PROTECTED]
>>> Ronald Petty <[EMAIL PROTECTED]> 03/13/03 14:14 PM >>>
My make keeps dieing, here is my apache config and php config

apache (i started successfully)
./configure --prefix=/usr/local/apache --enable-so

php
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gd
--with-pgsql --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php

Here is the error
make
...
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.2.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/local/src/php-4.2.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.2.2/libtool --silent --mode=compile gcc 
-I. -I/usr/local/src/php-4.2.2/sapi/apache2filter
-I/usr/local/src/php-4.2.2/main -I/usr/local/src/php-4.2.2
-I/usr/local/apache/include -I/usr/local/src/php-4.2.2/Zend
-I/usr/local/src/php-4.2.2/ext/mysql/libmysql -I/usr/local/pgsql/include
-I/usr/local/src/php-4.2.2/ext/xml/expat  -D_REENTRANT
-I/usr/local/src/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of
`ap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1


I have tried removing ALL ./configure options except the apxs stuff and
it also gives the same error.

Any ideas?

The latest apache/php do not work write on the file uploads, so anyone
know what versions I can try that work?

Ron


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to