From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 15:50:19 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 F3BE537B401 for ; Tue, 15 Apr 2003 15:50:18 -0700 (PDT) Received: from www.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 23DB943F93 for ; Tue, 15 Apr 2003 15:50:18 -0700 (PDT) (envelope-from oremanj@www.get-linux.org) Received: (qmail 60650 invoked by uid 1001); 15 Apr 2003 22:50:28 -0000 Date: Tue, 15 Apr 2003 15:50:28 -0700 From: Joshua Oreman To: "Jack L. Stone" Message-ID: <20030415225027.GB60386@webserver.get-linux.org> References: <200304150957.00048.konrad@scorciapino.org> <200304150957.00048.konrad@scorciapino.org> <3.0.5.32.20030415120651.0142d1d8@sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20030415120651.0142d1d8@sage-one.net> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: Apache and PHP 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: Tue, 15 Apr 2003 22:50:19 -0000 On Tue, Apr 15, 2003 at 12:06:51PM -0500 or thereabouts, Jack L. Stone seemed to write: > At 02:50 PM 4.15.2003 +0100, Wayne Pascoe wrote: > >On Tue, Apr 15, 2003 at 09:57:00AM -0300, Konrad Scorciapino wrote: > >> Hello, > >> > >> I am running Apache with mod_php and when I try something like `echo $a` > in a > >> webpage like `/foo.php?a=bar`, I get no results. > >> > >> Could this be a problem with apache? What could be wrong? > > > >As far as I know, the default for php is now to set register_globals to > >off. You need to edit your php file and turn this on, or you need to > >access the variable in a safe manner. > > > >It's unlikely that this is a problem with Apache from this evidence.. > > > >-- > >Wayne Pascoe > > I'm having a similar problem myself ever since installing php-4.3. My web > pages will no longer set the variable input for the php scripts to run. The > "register_globals" was off on previous version php-4.2. Have tried > everything I can think off, but web to php interfaces no longer work. Don't > know if it is an Apache or PHP problem, but tests show the web page input > is not setting, but PHP update was only change of system. > > Konrad, I'd sure like to know if you find the answer. Edit /usr/local/etc/php.ini. (may also be in /usr/local/lib) Find the line that starts with 'register_globals' and change the Off to On if it's Off. > > Best regards, > Jack L. Stone, > Administrator > > SageOne Net > http://www.sage-one.net > jackstone@sage-one.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hope this helps, -- Josh