From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q6fvc-0004sY-Mv for garchives@archives.gentoo.org; Mon, 04 Apr 2011 09:18:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 495851C01A; Mon, 4 Apr 2011 09:16:04 +0000 (UTC) Received: from smtpq2.gn.mail.iss.as9143.net (smtpq2.gn.mail.iss.as9143.net [212.54.34.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 03FC71C01A for ; Mon, 4 Apr 2011 09:16:03 +0000 (UTC) Received: from [212.54.34.138] (helo=smtp7.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q6ftD-0004m5-Az for gentoo-user@lists.gentoo.org; Mon, 04 Apr 2011 11:16:03 +0200 Received: from 5353c7ed.cm-6-4d.dynamic.ziggo.nl ([83.83.199.237] helo=data.antarean.org) by smtp7.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q6ft9-0000q7-PZ for gentoo-user@lists.gentoo.org; Mon, 04 Apr 2011 11:15:59 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 5077E241E for ; Mon, 4 Apr 2011 11:17:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id imDz762n9aYP for ; Mon, 4 Apr 2011 11:17:34 +0200 (CEST) Received: from shell.localnet (shell.antarean.org [10.20.13.8]) by data.antarean.org (Postfix) with ESMTP id B48B11085 for ; Mon, 4 Apr 2011 11:17:34 +0200 (CEST) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Setting up a local web server Date: Mon, 4 Apr 2011 11:17:34 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-xen-r4_shell; KDE/4.4.5; x86_64; ; ) References: <201104011257.49639.peter@humphrey.ukfsn.org> <201104011418.39754.stephane@22decembre.eu> <201104012056.47604.peter@humphrey.ukfsn.org> In-Reply-To: <201104012056.47604.peter@humphrey.ukfsn.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201104041117.34193.joost@antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Q6ft9-0000q7-PZ X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.928, vereist 5, BAYES_00 -1.90, RDNS_DYNAMIC 0.98, T_RP_MATCHES_RCVD -0.01) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: X-Archives-Hash: 960b7162c347acd2492d8cfca7724101 On Friday 01 April 2011 21:56:47 Peter Humphrey wrote: > On Friday 01 April 2011 13:18:39 St=E9phane Guedon wrote: > > I have APACHE2_OPTS=3D"-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5" > >=20 > > you should try at least language and php5 ! >=20 > That missing 5 is important - thanks. >=20 > Then, however, I got this: >=20 > * 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 >=20 > 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=E9phane. >=20 > 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. >=20 > Incidentally, apache is wrong to complain of syntax errors - they're erro= rs > of configuration, not syntax. Try recompiling php. You may have accidentally removed the php-library as that is located under: /usr/lib/apache2/modules/... =2D- Joost