Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install mod_php in apache and apache2 (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Mon Apr 17, 2006 7:20 pm    Post subject: Install mod_php in apache and apache2 (solved) Reply with quote

Hi, i've two servers of apache in my server, the apache2 one on port 80 and the apache working on the port 81. They work fine but the mod_php is giving me problems. When i install mod_php for apache it gets uninstalled for apache2 and when i install it for apache2 gets unistalled for apache.

The solution is start one server and after emerge the mod_php for the other server and start it after, but in the next reboot i need to do the same again.

Exist another solution? I can avoid emerge uninstall one of the copys of mod_php?


Last edited by mad93 on Fri Apr 21, 2006 9:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Tue Apr 18, 2006 12:38 pm    Post subject: Reply with quote

well, i am running dev-lang/php5, and apache2 dosnt need mod_php in this case.

i just "tried" an emerge pretend of apache1, and i get this:
Code:

[ebuild  N    ] dev-libs/mm-1.4.0  328 kB
[ebuild  NS   ] net-www/apache-1.3.34-r2  USE="pam ssl" 3,225 kB [1]
[ebuild  N    ] net-www/mod_ssl-2.8.25-r1  0 kB

so my guess is, apache1 doesnt need mod_php either anymore.

so it might be worth trying it out. i guess you are currently using dev-php/php and not dev-lang/php ?
Back to top
View user's profile Send private message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Fri Apr 21, 2006 2:41 pm    Post subject: Reply with quote

But i need php4, my scripts are old and works with mysql functions that if i'm not wrong they change in this change version.
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Fri Apr 21, 2006 4:43 pm    Post subject: Reply with quote

mad93 wrote:
But i need php4, my scripts are old and works with mysql functions that if i'm not wrong they change in this change version.

how could mysql functions change? dont get me wrong.. you are able to keep mysql4!
put your stuff on a local machine and check it out. use mysql4 and dev-lang/php5. that should work. it does here and everywhere else.
Back to top
View user's profile Send private message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Fri Apr 21, 2006 9:51 pm    Post subject: Reply with quote

Sorry i belived that mysql functions wasn't aviable on php5 and i must change to mysqli functions by force, some friend of mine explained this to me ><

Now i've been saying the php.net site and i've saw that php5 also suports this functions, sorry for the trouble :S

Plus i hadn't seen the upgrade on php >< doing it now, thanks.
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sat Apr 22, 2006 1:10 am    Post subject: Reply with quote

Furthermore, emerge =dev-lang/php-4* would give you PHP4, as dev-lang/php has both PHP versions, and you even can install them both at the same time.
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sun Apr 23, 2006 11:59 am    Post subject: Reply with quote

clickme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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