View previous topic :: View next topic |
Author |
Message |
Lemen n00b
Joined: 26 May 2004 Posts: 3
|
Posted: Wed May 26, 2004 9:35 pm Post subject: Apache og PHP |
|
|
Jeg holder på og sette opp apache men får ikke til php delen helt..!
Jeg har emerga apache (apache2) php og mod_php
Men hva må jeg gjøre for og få php delen til og funke?
Jeg har lest apache.org ut og inn men finner ikke noe om apache2 og php der!
Mvh. Thomas |
|
Back to top |
|
|
teglsbo n00b
Joined: 18 Apr 2004 Posts: 11
|
Posted: Mon May 31, 2004 3:05 am Post subject: |
|
|
Fra /usr/portage/dev-php/mod_php/mod_php-4.3.6-r2.ebuild:
Code: |
einfo "Edit /etc/conf.d/apache2 and add \"-D PHP4\" to APACHE2_OPTS"
ewarn "This is a CHANGE from previous behavior, which was \"-D PHP\""
ewarn "This is for the upcoming PHP5 support. The ebuild will attempt"
ewarn "to make this update between PHP and PHP4 automatically" |
Altså, tilføj -D PHP4 til APACHE2_OPTS i /etc/conf.d/apache2.
I mit tilfælde betyder det, at jeg har en linje med:
Code: | APACHE2_OPTS="-D PHP4" |
Nogen gange skal min virkelig være opmærksom på beskeder, der kommer midt i en emerge.
Der er en portage-feature PORT_LOGDIR, der beskrevet på
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 afsnit 4.c Logging, der skulle lave logs med beskeder fra installationen, men jeg har ikke prøvet den selv. |
|
Back to top |
|
|
|
|
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
|
|