View previous topic :: View next topic |
Author |
Message |
pikkumyy n00b
Joined: 20 Nov 2002 Posts: 21 Location: Helsinki, Finland
|
Posted: Thu Nov 21, 2002 7:56 am Post subject: mod_php / apache configuring |
|
|
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 |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Thu Nov 21, 2002 9:22 am Post subject: |
|
|
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 |
|
|
ajaustin n00b
Joined: 18 Oct 2002 Posts: 38 Location: Surrey UK
|
Posted: Thu Jan 02, 2003 10:51 pm Post subject: |
|
|
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 |
|
|
CptanPanic n00b
Joined: 17 Jan 2003 Posts: 48
|
Posted: Sat Jan 18, 2003 10:12 pm Post subject: |
|
|
I was wondering as a new portage user, how one determines when you need to do this ebuild config option?
Brian |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Jan 19, 2003 5:13 am Post subject: |
|
|
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 |
|
|
|