Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 17:58:12 -0200
From:      Rodrigo Gonzalez <rjgonzale@estrads.com.ar>
To:        freebsd-questions@freebsd.org
Cc:        Paul Macdonald <paul@ifdnrg.com>, Gary Kline <kline@thought.org>
Subject:   Re: Which php??
Message-ID:  <201101121758.12869.rjgonzale@estrads.com.ar>
In-Reply-To: <20110112195347.GA21353@thought.org>
References:  <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
/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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101121758.12869.rjgonzale>