Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 1.3 and PHP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
paket
n00b
n00b


Joined: 09 Sep 2004
Posts: 8

PostPosted: Wed Sep 15, 2004 3:38 pm    Post subject: Apache 1.3 and PHP Reply with quote

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
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Wed Sep 15, 2004 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Sep 15, 2004 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum