View previous topic :: View next topic |
Author |
Message |
NautilusIII Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Nov 2003 Posts: 162
|
Posted: Tue Aug 01, 2006 6:14 pm Post subject: mod_suphp with Apache 1 |
|
|
Hi!
I try to let run PHP4 and PHP5 on my Apache 1.3.
I am following this docu here:
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 |
|
![](templates/gentoo/images/spacer.gif) |
pharoh Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1087027469420d0fa181887.gif)
Joined: 20 Mar 2004 Posts: 91 Location: Minnesota
|
Posted: Mon Oct 30, 2006 8:05 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|