Problem: When apache 2 is the only version of apache installed and the use flag for apache2 is not set, mod_php produces the following errors: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs The output of /usr/sbin/apxs follows ./configure: line 3215: /usr/sbin/apxs: No such file or directory configure: error: Aborting !!! ERROR: dev-php/mod_php-4.3.0 failed. !!! Function src_compile, Line 201, Exitcode 1 !!! bad ./configure By setting the use flag apache2, I was able to successfully emerge mod_php. Suggested fix: Detect apache2 is only apache installed, set use flag for apache2.
and this is ok, you need the apache2 use flag to use it with apache 2, btw the ebuild depends on >=net-www/apache-1.3.26-r2 so portage will not install an apache 1, but get the latest, that dep should be =net-www/apache-1.* or something like: !apache2? ( =net-www/apache-1.* ).
for me, even with -apache2 in my USE mod_php still wants to pull apache2, I had to add >net-www/apache-1.3.27-r2 to package mask in order for mod_php to depend oon apache-1.3.27-r2 instead of apache2
enjoy donnie
*giggle*