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

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Lemen
n00b
n00b


Joined: 26 May 2004
Posts: 3

PostPosted: Thu May 27, 2004 5:29 pm    Post subject: Apache and php Reply with quote

i have emerged apache (apache2), php and mod_php

But i cant get php too work! What doo i need too doo?

Sry fore my english:P

I hope somone can help me with the php thing


thanx :)
Back to top
View user's profile Send private message
grepcomputers
Guru
Guru


Joined: 16 Sep 2003
Posts: 375

PostPosted: Thu May 27, 2004 7:13 pm    Post subject: Reply with quote

I hear that if you put "apache2" (or "apache" I guess, depending on the version you are using) and emerge all the php packages needed, it should work. However, I did not use this. I emerged apache and all the needed php modules, (mod_php and php), and then edited "/etc/conf.d/apache2"

Find the line with "APACHE2_OPTS" in it, and make sure it has "-D PHP4" in it, ie, mine looks like this:

/etc/conf.d/apache2:
APACHE2_OPTS="-D PHP4 -D SSL"

which means I have PHP4 installed and running, as well as SSL.

cheers...
Back to top
View user's profile Send private message
Sabbie
n00b
n00b


Joined: 23 May 2004
Posts: 24
Location: Netherlands

PostPosted: Fri May 28, 2004 1:01 am    Post subject: Reply with quote

Make sure:
Code:

LoadModule php4_module                  modules/libphp4.so

is in you /etc/apache2/conf/apache.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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