From: Peter Humphrey <peter@humphrey.ukfsn.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Setting up a local web server
Date: Fri, 1 Apr 2011 12:57:49 +0100 [thread overview]
Message-ID: <201104011257.49639.peter@humphrey.ukfsn.org> (raw)
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.)
--
Rgds
Peter
next reply other threads:[~2011-04-01 11:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 11:57 Peter Humphrey [this message]
2011-04-01 12:18 ` [gentoo-user] Setting up a local web server Stéphane Guedon
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=201104011257.49639.peter@humphrey.ukfsn.org \
--to=peter@humphrey.ukfsn.org \
--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