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 Networking & Security
View previous topic :: View next topic  
Author Message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Tue Sep 03, 2002 12:59 am    Post subject: Apache and php Reply with quote

Hey all,

What are the steps to get Apache+PHP working with gentoo?

I have checked the desktop guide but I wasnt able to get that to work.

thanks!
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Sep 03, 2002 1:28 am    Post subject: Reply with quote

Set your USE variables and:
Code:
# emerge apache mod_php

Follow the instructions left on your screen and you're done.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
HopChop
n00b
n00b


Joined: 25 Aug 2002
Posts: 17

PostPosted: Tue Sep 03, 2002 8:41 am    Post subject: Reply with quote

Guessing you have apache up and running already.

Then emerge mod-php

Edit the DirectoryIndex in /etc/apache/conf/commonapache.conf so php, php3 and php4 are there.

Put:
<IfDefine PHP4>
LoadModule php4_module extramodules/libphp4.so
Include conf/addon-modules/mod_php.conf
</IfDefine>
in the end of your /etc/apache/conf/apache.conf

In your /etc/conf.d/apache, put:
APACHE_OPTS="-D PHP4"

Then restart the server and it should work just fine.
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