public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stéphane Guedon" <stephane@22decembre.eu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Setting up a local web server
Date: Fri, 1 Apr 2011 14:18:39 +0200	[thread overview]
Message-ID: <201104011418.39754.stephane@22decembre.eu> (raw)
In-Reply-To: <201104011257.49639.peter@humphrey.ukfsn.org>

[-- Attachment #1: Type: Text/Plain, Size: 1163 bytes --]

On Friday 01 April 2011 13:57:49 Peter Humphrey wrote:
> Hello list,
> 
> I want a box on my LAN to be a local web and database server. I've
> installed Apache, MySQL, PHP and phpmyadmin and I'm about to get
> phpmyadmin going. The problem is that Apache is displaying the contents of
> php files instead of interpreting them.
> 
> What have I missed? I have USE="apache2 php" in make.conf and
> APACHE2_OPTS="-D PHP" in /etc/conf.d/apache2.
> 
> (Why is it so hard to get a web server going in Gentoo? I remember having
> the same difficulty 18 months ago; it'd be good to be able to remember
> what I did. This is the one area I've found where the Gentoo documentation
> is weak - well, nonexistent actually. We ought to have an idiot's guide to
> getting started, at least.)

I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5"

you should try at least language and php5 !

Don't know actually if it will help !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2011-04-01 13:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-01 11:57 [gentoo-user] Setting up a local web server Peter Humphrey
2011-04-01 12:18 ` Stéphane Guedon [this message]
2011-04-01 19:56   ` Peter Humphrey
2011-04-01 23:03     ` kashani
2011-04-02  5:40       ` Adam Carter
2011-04-02 13:02         ` Todd Goodman
2011-04-02  8:45       ` Neil Bothwick
2011-04-04  9:17     ` Joost Roeleveld
2011-04-04 13:15       ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201104011418.39754.stephane@22decembre.eu \
    --to=stephane@22decembre.eu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox