From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:53:49 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 589DE10659BB for ; Wed, 12 Jan 2011 19:53:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2AEB78FC0C for ; Wed, 12 Jan 2011 19:53:48 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 12462E807E4; Wed, 12 Jan 2011 11:53:47 -0800 (PST) Date: Wed, 12 Jan 2011 11:53:47 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110112195347.GA21353@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> <20110112005234.GA4277@thought.org> <4D2D7C3E.50404@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2D7C3E.50404@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List 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:53:49 -0000 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? > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org