From owner-freebsd-questions@FreeBSD.ORG Sat Jan 9 09:35:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCF981065692 for ; Sat, 9 Jan 2010 09:35:05 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3FBCD8FC08 for ; Sat, 9 Jan 2010 09:35:05 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o099Yxpb000969; Sat, 9 Jan 2010 09:35:00 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o099Yxpb000969 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263029700; bh=jiZm6Tciu2kL9Lvp/aYT1/ht+rQkOuVq/tEUtUyUEFE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B484DBB.4090902@infracaninophile.co.uk>|Date:=20S at,=2009=20Jan=202010=2009:34:51=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20PJ=20|CC:=20freebsd-ques tions@freebsd.org|Subject:=20Re:=20port-MESS=20with=20apache22|Ref erences:=20<4B47EB5A.3010802@videotron.ca>|In-Reply-To:=20<4B47EB5 A.3010802@videotron.ca>|X-Enigmail-Version:=200.95.6|Content-Type: =20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3 D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en ig64840457684D8A3D27A95369"; b=iydHJXlnIElxtQq9DiDJT887MSIzoSK7N2BMZHerulK3He++T36rVuRmXWN9YxuqF g5T1iu8iIxO6uasSKk/uSv2czP/gp6JvMnEmhY432id+Kumk399mltYYgQmeVTeG7b RFstEpekUrjatf32iyb90Y2T05ATcIt6OIzhz3Y8= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B484DBB.4090902@infracaninophile.co.uk> Date: Sat, 09 Jan 2010 09:34:51 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: PJ References: <4B47EB5A.3010802@videotron.ca> In-Reply-To: <4B47EB5A.3010802@videotron.ca> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig64840457684D8A3D27A95369" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: port-MESS with apache22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 09:35:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig64840457684D8A3D27A95369 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable PJ wrote: > Upgraded to 8.0 without problem. > Reinstalling ports was tedious... but NP for most part. > Sommehow the installation of apache22 stumbled over some configuration > issues, I think.... > I found that apache was running ok, except... > php5 module was not correctly installed... mod_php5 isn't built by default when you install php5. This catches out a very large number of people, and it is particularly astonishing as integrating php into apache is probably the number one reason for installing php. Sounds like you may need to do this: # cd /usr/ports/lang/php5 # make config [ Make sure the option for 'Build Apache Module' is checked ] # portupgrade -f lang/php5 -or- # portmaster --force-config -f lang/php5 =20 It might also be necessary to rebuild all of the php5 modules -- plus any pecl- modules. At the cost of reinstalling pear- modules and PHP apps (which should be fairly cheap, as the port installation process for that sort of port consists almost entirely of copying files into place) you can just do this: # portupgrade -fr lang/php5 -or- # portmaster -fr lang/php5 Also double check httpd.conf once PHP5 is installed with mod_php5 --=20 the port will automatically add a line to ${PREFIX}/etc/apache22/httpd.co= nf to cause apache to load the module, which should look like this: LoadModule php5_module libexec/apache22/libphp5.so As I recall, PHP5 creates that line as shown, which should work straight away, but some modules add a commented out LoadModule line, so it would be a good idea to eliminate that as a potential problem. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig64840457684D8A3D27A95369 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktITcMACgkQ8Mjk52CukIxKNwCeKY+CG03igP0WVa3ouPKgAhEG KjgAoIyn2Th/Z7dYlV15NQ6H/AX0XVyf =8GtR -----END PGP SIGNATURE----- --------------enig64840457684D8A3D27A95369--