From: Peter Humphrey <peter@humphrey.ukfsn.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Setting up a local web server
Date: Fri, 1 Apr 2011 20:56:47 +0100 [thread overview]
Message-ID: <201104012056.47604.peter@humphrey.ukfsn.org> (raw)
In-Reply-To: <201104011418.39754.stephane@22decembre.eu>
On Friday 01 April 2011 13:18:39 Stéphane Guedon wrote:
> I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5"
>
> you should try at least language and php5 !
That missing 5 is important - thanks.
Then, however, I got this:
* apache2 has detected an error in your setup:
apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax error on
line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load
/usr/lib/apache2/modules/libphp5.so into server:
/usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file
or directory
That's after emerge -Cv apache and removing by hand all files and directories
left behind by emerge. Same with php. Then I reinstalled both apache and php but
without using the packages I had and all came right - thanks Stéphane.
This is connected with the other thread I've written to today, about using my
workstation as an emerge server. A complication I didn't mention there is that
both make.conf and package.use have to be identical in the chroot and the target
system nfs-mounted under it. I must have got them out of step at some stage.
Incidentally, apache is wrong to complain of syntax errors - they're errors of
configuration, not syntax.
--
Rgds
Peter
next prev parent reply other threads:[~2011-04-01 19:58 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
2011-04-01 19:56 ` Peter Humphrey [this message]
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=201104012056.47604.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