Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_suphp with Apache 1
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
NautilusIII
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 162

PostPosted: Tue Aug 01, 2006 6:14 pm    Post subject: mod_suphp with Apache 1 Reply with quote

Hi!

I try to let run PHP4 and PHP5 on my Apache 1.3.
I am following this docu here:

Quote:

http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml#doc_chap4


But when I try to emerge mod_suphp it wants to emerge Apache 2.
Is there a way to prevent this?
Is there another way of realizing what I want to do?

I want to be able to use PHP4 or PHP5 depending on the file extensions or for as defined for each VHost...
I try to use mod_suphp because of this comment here:

Quote:

Don't use PHP4 and PHP5 cgi or PHP4 CGI and PHP5 module in a multi-user / shared-hosting environment! You should use CGI with suPHP there, which makes it possible to use PHP4 and PHP5 together too (see PHP4 CGI and PHP5 CGI using suPHP for details)!


Quote:

ACCEPT_KEYWORDS="~x86" emerge --pretend mod_suphp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild NS ] net-www/apache-2.0.59
[ebuild N ] www-apache/mod_suphp-0.6.1-r2


Any ideas?

Thanks!
Back to top
View user's profile Send private message
pharoh
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 91
Location: Minnesota

PostPosted: Mon Oct 30, 2006 8:05 pm    Post subject: Reply with quote

I know It is a little late but I would just edit the ebuild for mod_suhp and change the net-www/apache to =net-www/apache-1.3 (or whatever ebuild you want to use). the ebuild /usr/portage../../mod_suhp.ebuild digest. this would change it to the desired output.
_________________
Linux user number 361815
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