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] ____________ "Md" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Who knows how to make apache2 work with PHP4.2.2? > > I have tried a variety of configure options without success. > > My goal was to build libphp4.so but the closes I got was libphp4.a (A > static library) > > It was built using: configure --with-mysql --with-apache=/path/to/apache > > Every other flavor of configure failed. > > FAILED: configure --with-mysql --with-apxs2=/path/to/apache/apxs -> > Failes because header file is not visible. > FAILED: configure --with-mysql --with-apxs=/path/to/apache/apxs -> > Requires APXS2 for Apache 2 > > Anyone have any tips? > > Thanks, > > Mark Diener > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php