View previous topic :: View next topic |
Author |
Message |
paket n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Sep 2004 Posts: 8
|
Posted: Wed Sep 15, 2004 3:38 pm Post subject: Apache 1.3 and PHP |
|
|
I need to get Apache 1.3 and PHP working together, but emerge insists on installing Apache2. My USE flag is: Code: | USE="mysql php ldap apache samba -apache2 -java -perl -oss -arts -avi -gtk -gtk2 -kde -gnome -mpeg -oggvorbis -opengl -qt -quicktime -x -xv" |
But Portage wants to install Apache2:
Code: | tester conf.d # emerge --pretend --verbose mod_php
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-www/apache-2.0.50 +berkdb -debug -doc +gdbm -ipv6 +ldap +ssl -static -threads 0 kB
[ebuild N ] dev-php/mod_php-4.3.8 -X -apache2 +berkdb +crypt -curl -debug -debug -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp -imap -informix -ipv6 -java +jpeg -kerberos +ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres -qt -snmp +spell +ssl -tiff +truetype +xml2 -yaz 16 kB
[ebuild N ] dev-php/php-4.3.8 -X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp -imap -informix -ipv6 -java +jpeg -kerberos +ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres -qt +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 16 kB
Total size of downloads: 33 kB
tester conf.d # |
I need Apache 1.3 because I will be throwing mod_auth_ldap into the mix later on. I know that PHP works with Apache 1.3, but I can't seem to convince Portage of this. Can anyone help?
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hanj Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/104414163441b8c6c1a6b4e.gif)
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Wed Sep 15, 2004 3:49 pm Post subject: |
|
|
You could try emerging the ebuild specifically:
Code: | emerge -pv /usr/portage/net-www/apache/apache-1.3.31-r2.ebuild mod_php |
Hope this helps
hanji |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Wed Sep 15, 2004 4:27 pm Post subject: |
|
|
You'll want to do the following.
mkdir /etc/portage
echo ">=net-www/apache-2" >> /etc/portage/package.mask
That should keep portage from wanting to use any apache2 builds to satisfy the Apache dependency.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|