Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_php / apache configuring
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
pikkumyy
n00b
n00b


Joined: 20 Nov 2002
Posts: 21
Location: Helsinki, Finland

PostPosted: Thu Nov 21, 2002 7:56 am    Post subject: mod_php / apache configuring Reply with quote

Just emerged mod_php and everything worked out nice, except for one thing: Apache didn't have php support enabled :)

My version of mod_php was from 4.2.2-r1.ebuild (dated Oct 27)

In case someone else finds their Apache running just fine but without php, here is how to fix it:

Add this to /etc/apache/conf/apache.conf:
Code:

LoadModule php4_module        extramodules/libphp4.so
AddModule mod_php4.c
Include conf/addon-modules/mod_php.conf


BTW: Yes, I did find several references to running 'emerge config' after 'emerge mod_php', but for me it did nothing:
Code:

# emerge config

Currently, 'config' is a --help option only.
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Thu Nov 21, 2002 9:22 am    Post subject: Reply with quote

no, do this:
Code:

ebuild /var/db/pkg/dev-php/mod_php-4.2.2-r1/mod_php-4.2.2-r1.ebuild config
Back to top
View user's profile Send private message
ajaustin
n00b
n00b


Joined: 18 Oct 2002
Posts: 38
Location: Surrey UK

PostPosted: Thu Jan 02, 2003 10:51 pm    Post subject: Reply with quote

This info from zhenlin is interesting and seems to work, but I don't know if I have missed something because:

I can find no mention of a "config" option in the ebuild man page.

Nor in the Portage User Guide.

Nor in the Portage Manual.

Maybe I'm not looking hard enough, or maybe it really isn't there.
_________________
Tony
Back to top
View user's profile Send private message
CptanPanic
n00b
n00b


Joined: 17 Jan 2003
Posts: 48

PostPosted: Sat Jan 18, 2003 10:12 pm    Post subject: Reply with quote

I was wondering as a new portage user, how one determines when you need to do this ebuild config option?
Brian
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jan 19, 2003 5:13 am    Post subject: Reply with quote

The ebuild will tell you to do so at the end of emerging it.
_________________
For every higher wall, there is a taller ladder
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