View previous topic :: View next topic |
Author |
Message |
gigel Guru
Joined: 14 Jan 2003 Posts: 369 Location: .se/.ro
|
Posted: Thu Apr 10, 2003 12:32 pm Post subject: apache+mod_php+phpsysinfo |
|
|
i have seen that many of gentoo users had some problems with apache,mod_php etc.etc..
so now i'm going to post how to install all of the above without any problem(for me worked just fine)
first modify the CFLAGS in /etc/make.conf
Code: |
CFLAGS="-march=put_what_your_arch_is -O3 -pipe -fomit-frame-pointer"
|
than modify USE="-java -qt"
#emerge apache mod_php phpsysinfo etc..
after all is installed you shoul modify /etc/apache/conf/apache.conf
comment the Inlcude conf/commonapache.conf
Code: |
LoadModule php4_module extramodules/libphp4.so
|
Code: |
AddModule mod_php4.c
|
Code: |
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
|
and you've done it!!
it's simple,but maybe this would help someone _________________ $emerge sux
|
|
Back to top |
|
|
christsong84 Veteran
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Sun Apr 13, 2003 7:07 pm Post subject: |
|
|
Wodnerful...it helped me immensly, thx! |
|
Back to top |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Mon Apr 14, 2003 1:50 pm Post subject: |
|
|
Quote: | than modify USE="-java -qt" | this is a workaround to this bug. If you want to install java support to php, you can do so by first installing the sun-jdk1.4.1.02 release and setting it up with Code: | # java-config --set-system-vm=sun-jdk-1.4.1.02 | Now you don't need to set USE="-java -qt"
Michael _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
Guybrush Tux's lil' helper
Joined: 06 Feb 2003 Posts: 99 Location: 48°27'N, 11°8'O
|
Posted: Wed Jun 18, 2003 12:14 pm Post subject: |
|
|
I have both java and qt in my USE-variable and it still works.
Even with blackdown-java (version 1.4.1)
GREAT!!! |
|
Back to top |
|
|
puke Tux's lil' helper
Joined: 05 Oct 2002 Posts: 128
|
Posted: Wed Jun 18, 2003 12:24 pm Post subject: |
|
|
This may be a dumb question..
When I performed an emerge mod_php my system tried to merge all sorts of packages, fonts, libpng, even X stuff. They seemed to be dependancies for mod_php. Surely not?
My server is not a workstation, doesn't have a monitor or keyboard, what are the minimum packages needed for a mod_php install, how can I do this? |
|
Back to top |
|
|
niki n00b
Joined: 25 May 2003 Posts: 19 Location: Switzerland
|
Posted: Thu Jun 19, 2003 2:50 pm Post subject: |
|
|
I put
in my USE Flag then
emerge mod_php
didn't install xfree |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Sat Jun 21, 2003 7:08 pm Post subject: |
|
|
Thanks a bunch!! |
|
Back to top |
|
|
|