Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13326 - mod_php 4.3.0 misconfigures when apache 2 installed
Summary: mod_php 4.3.0 misconfigures when apache 2 installed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-05 17:03 UTC by ebnf
Modified: 2003-03-22 15:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ebnf 2003-01-05 17:03:07 UTC
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.
Comment 1 Lapo Calamandrei 2003-02-12 14:30:47 UTC
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.* ).
Comment 2 teri-aka TrAns13nT 2003-02-18 11:39:18 UTC
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
Comment 3 SpanKY gentoo-dev 2003-03-03 04:27:26 UTC
enjoy donnie
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-03-22 15:58:44 UTC
*giggle*