I got a similar problem so here is my case: Well my problem is different but here it goes to see if any you guys can crack it.
First I go to my source directory for apache and I do this: make clean make distclean ./configure --prefix=/usr/local/www --enable-module=so make make install Now apache 2.0 is installed right where I want it. Now to PHP 4.2.2: make clean make distclean ./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs make (when the make finishes it has this last lines in an error) 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 make install (I get another error when the make install is done) 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]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi' make: *** [install-recursive] Error 1 When this is done, I DON'T have php installed and it gives me bunch of errors. I am stuck here and I don't know what to do. I am running RedHat Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC. Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache 2.0, but I would like to try my best to get it running as I know there are a few people here that have gotten it working. If youcan reply here or to my e-mail at [EMAIL PROTECTED] ______ "Ryan Adorable" <[EMAIL PROTECTED]> wrote in message 006901c23b8d$4a83e2e0$0201a8c0@dev">news:006901c23b8d$4a83e2e0$0201a8c0@dev... > Hi, > > I got this configure line: > > > > > ./configure --with-apxs2=/usr/www/bin/apxs --with-imap=/usr/www/imap --with- > mysql=/usr/db --with-gettext --with-zlib > > Now when I issue the make command, I got this error: > > /bin/sh /usr/www/php-4.2.2/libtool --silent --mode=compile > gcc -I. -I/usr/www/php-4.2.2/sapi/apache2filter > -I/usr/www/php-4.2.2/main -I/usr/www/php-4.2.2 -I/usr/www/include -I/usr/ ww > w/php-4.2.2/Zend > -I/usr/www/imap-2002.RC2/c-client -I/usr/db/include/mysql -I/usr/www/php- 4. > 2.2/ext/xml/expat > -D_REENTRANT -I/usr/www/php-4.2.2/TSRM -g -O2 -pthread -DZTS -prefer-pic - > c php_functions.c > php_functions.c:93: parse error > > How could I fox this error? > > Thanks in advanced. > Ryan > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php