public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Setting up a local web server
Date: Fri, 01 Apr 2011 16:03:10 -0700	[thread overview]
Message-ID: <4D9659AE.4020605@badapple.net> (raw)
In-Reply-To: <201104012056.47604.peter@humphrey.ukfsn.org>

On 4/1/2011 12:56 PM, Peter Humphrey wrote:
> 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.
>

Apache doesn't recognize the syntax, therefore it's a syntax error.

dig you build php with an apache2 flag to enable the Apache module?

kashani



  reply	other threads:[~2011-04-01 23: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
2011-04-01 19:56   ` Peter Humphrey
2011-04-01 23:03     ` kashani [this message]
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=4D9659AE.4020605@badapple.net \
    --to=kashani-list@badapple.net \
    --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