From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 09:26:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD30816A4B3 for ; Mon, 22 Sep 2003 09:26:45 -0700 (PDT) Received: from smtp.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id F29C843F93 for ; Mon, 22 Sep 2003 09:26:44 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.241]) by smtp.tiadon.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 22 Sep 2003 11:18:37 -0500 Message-ID: <3F6F229A.7070407@daleco.biz> Date: Mon, 22 Sep 2003 11:26:02 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "H. Bartel" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Sep 2003 16:18:38.0343 (UTC) FILETIME=[2E155970:01C38125] cc: freebsd-questions@freebsd.org Subject: Re: apache / php problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 16:26:46 -0000 H. Bartel wrote: >Hi all, > >Since I do have php4 running and phpinfo() tells me that it does, Sites that I put into my root dir of Apache are not parsing their variables. The index pages are displayed properly, since they don't require any vars to be passed, but every other sub-pages (e.g. index.php?sub=2) don't do anything, the normal index.php is displayed. > >The path to php.ini reads "/usr/local/etc/php.ini ", if I understand correct it gets read then. I couldn't find any other reason for this to not work. > >Thanks for any help, >Holger > If you have just updated to PHP4 from 3, be advised that the "register_globals" handle in php.ini is now OFF by default, and therefore any code of the type include "$sub"; should now read include "$_GET['sub']"; This might be the problem. See the FAQ's at www.php.net or www.phpbuilder.com/board for details. HTH, Kevin Kinsey