From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:58:20 2011 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 C53011065674 for ; Wed, 12 Jan 2011 19:58:20 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 931F58FC0C for ; Wed, 12 Jan 2011 19:58:20 +0000 (UTC) Received: (qmail 5508 invoked by uid 0); 12 Jan 2011 19:58:20 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by cpoproxy1.bluehost.com with SMTP; 12 Jan 2011 19:58:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=fwNOZnDKnn1GUXtibsEBQaPhS/CYK0WONC8+GYyLHDxRmI18TTzboSdi4WGsjEAIYbi8a8QwJMF/q/HBplRnynO24EOKM1pixVmMaB83Io21H/w0mH4dBOHxPGrD6xwN; Received: from r190-132-209-178.dialup.mobile.ancel.net.uy ([190.132.209.178] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1Pd6pm-000723-EZ; Wed, 12 Jan 2011 12:58:19 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Wed, 12 Jan 2011 17:58:12 -0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.1; i686; ; ) References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> In-Reply-To: <20110112195347.GA21353@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101121758.12869.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.132.209.178 authed with rjgonzale@estrads.com.ar} Cc: Paul Macdonald , Gary Kline Subject: Re: Which php?? 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: Wed, 12 Jan 2011 19:58:20 -0000 /usr/local/etc/php.ini That is the right file On Wednesday, January 12, 2011 05:53:47 pm Gary Kline wrote: > On Wed, Jan 12, 2011 at 10:02:38AM +0000, Paul Macdonald wrote: > > >Lots of warnings:: > > > > > > > > >Deprecated: Directive 'register_long_arrays' is deprecated in PHP > > >5.3 and greater in Unknown on line 0 > > > > > >Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 > > >and greater in Unknown on line 0 > > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) > > >(DEBUG) > > >Copyright (c) 1997-2009 The PHP Group > > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > > > > This is kinda good, at least its installed ! > > > > To turn off deprecated notices in looging: > > edit /usr/local/etc/php.ini ( approx line 523) > > error_reporting = E_ALL & ~E_DEPRECATED > > > > Make php log errors: ( line approx 646) > > error_log = /var/log/php_errors.log > > > > then try php -v from shell, > > Will, try, thanks much. There is one thing that someone wrote > in his post, labeling "php.ini" as "PHP.INI" or "PHP.ini". > > Last night I cp'd the php-ini-devel* to PHP.ini. I think I'm > probably barking up the wrong tree. A quick, recursive grep did > find "PHP" in some files. But ``find /usr/ports _blah_'' found > no PHP.ini. What's the right file to edit as my initialization > file?