Which php??

Gary Kline kline at thought.org
Wed Jan 12 19:53:49 UTC 2011


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 at 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



More information about the freebsd-questions mailing list