From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 17:19:49 2007 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 6919C16A417 for ; Tue, 11 Sep 2007 17:19:49 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id 3B46613C46A for ; Tue, 11 Sep 2007 17:19:49 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so677980nzf for ; Tue, 11 Sep 2007 10:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=EEc/cLEU07AJj8iksPh4Q1K75V6Nvfjr0ebQILVpeI8=; b=qFhApQCB/Gg/KYYZPEkNYeHhC9WXVOQJ+RJCTRfs0qL7CJo+O+DSTCxM3jhr1DyL+W8kXLbf3XpBWEiUnRVbAoXyheEdujIrx6tLXFLza+9Pa+d9RkhpquEgGU9M8Fm99IpmuNp2KcuKDOdIZWHdJGb6ZNpF0MyIu/lJ+YB9gfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Er2zICJlFFp7SzX3Jb/YFREseNHdwEcwIBJHmcuTNdBDkSgOBeVPw4Eqp7gJ7RBkXFNBxacPNofscm+o5SsgQH+pOXhf7orzkf2kXFgL2kZ4XrtJ5vxyZGNKt8Z0xaFRDBM43oDLTddfPRGqzccXYiqDUXhDJUaOQ//KsNKaG3E= Received: by 10.65.150.18 with SMTP id c18mr11849461qbo.1189531172414; Tue, 11 Sep 2007 10:19:32 -0700 (PDT) Received: by 10.65.248.20 with HTTP; Tue, 11 Sep 2007 10:19:32 -0700 (PDT) Message-ID: <94136a2c0709111019q249f01b8ra644c92fbd3a2869@mail.gmail.com> Date: Tue, 11 Sep 2007 19:19:32 +0200 From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf 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: Tue, 11 Sep 2007 17:19:49 -0000 Dear all, I decided to upgrade my home machine to php5.2.3 from 4.4.7. All went fine. I had one error about hash extension already loaded which I solved by deleting a duplicated entry from extensions.ini. The curious thing is that once apache has been restarted, if I want to load a website which resides on this box, it behaves as if no php was enabled in apache. In other words I can see the directory content (files present in a given directory) despite index.php being there. What is more strange is that when I click reload, the website is indeed loaded into browser! So when I first type an URL, it shows directory content. After hitting reload in browser (tested with both FF and IE), the page is shown. My first thought was checking httpd.conf DirectoryIndex index.php index.php3 index.html and also AddType application/x-tar .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps So I am a bit stuck as to what may cause this strange behaviour. I am running: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 11 2007 17:36:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Server version: Apache/1.3.37 (Unix) Server built: Jun 27 2007 07:58:38 FreeBSD 6.2-RELEASE-p6 #4 /usr/obj/usr/src/sys/SZALBOT httpd-error.log does not show any error despite having error_reporting = E_ALL & ~E_NOTICE set in php.ini. Many thanks in advance! Zbigniew Szalbot