Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache og PHP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
Lemen
n00b
n00b


Joined: 26 May 2004
Posts: 3
Location: Norway

PostPosted: Wed May 26, 2004 9:35 pm    Post subject: Apache og PHP Reply with quote

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
View user's profile Send private message
teglsbo
n00b
n00b


Joined: 18 Apr 2004
Posts: 11

PostPosted: Mon May 31, 2004 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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