From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 16:02:11 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E93C16A415 for ; Mon, 18 Dec 2006 16:02:11 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD26A43C9F for ; Mon, 18 Dec 2006 16:02:09 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id CAA29294; Tue, 19 Dec 2006 02:40:14 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 19 Dec 2006 02:40:14 +1100 (EST) From: Ian Smith To: Thomas Wahyudi In-Reply-To: <45864A25.6060208@sanbe-farma.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: PHP 5 with Apache 1.3 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: Mon, 18 Dec 2006 16:02:11 -0000 On Mon, 18 Dec 2006, Thomas Wahyudi wrote: > Ian Smith wrote: > > Hi all, > > > > bit of a long saga, and a (by now) humble question .. > > > > I reinstalled php5-5.2.0 from its package, after having to deinstall > > php 4 and reinstall 5 after the only major glitch on a portupgrade -aPP > > on a 5.5-STABLE system upgrading old ports, mostly from 5.4-R days. > > > ... cut > > > What do I need to do to get Apache to execute mod_php5 on .php files? > > > > Cheers, Ian > > > have you check output from /var/log/httpd-error.log ? it should type > some php version if the php is working correctly or > could you paste here the log from /var/log/httpd-error.log after you > restart the apache ( assuming you install apache from port too ) Thanks Thomas, [Tue Dec 19 01:25:42 2006] [notice] Apache/1.3.37 (Unix) PHP/5.2.0 with Suhosin-Patch configured -- resuming normal operations [Tue Dec 19 01:25:42 2006] [notice] Accept mutex: flock (Default: flock) No, I'd installed apache-1.3.37_1 from the package, but that's not the problem. No errors at all appear in httpd-error.log since the build. I've just now tried what should have been step #1, a /phpinfo.php page: which works just fine, so now I can concentrate on finding out what's wrong with my phpMyAdmin config .. maybe some cruft from earlier. The weird thing is that fetching /localhost/phpmyadmin/ Mozilla offers, as mentioned, to save the file "" of type application/x-httpd-php, but whether I cancel or go ahead and save the file under the chosen random name - which works fine and is identical to /phpmyadmin/index.php - absolutely NOTHING gets logged to httpd-access.log, either way .. ? Anyway, more news (or questions) when I do (or don't) figure it out. Cheers, Ian