Which php??

Rodrigo Gonzalez rjgonzale at estrads.com.ar
Wed Jan 12 19:58:20 UTC 2011


/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?


More information about the freebsd-questions mailing list