Which php??

four.harrisons at googlemail.com four.harrisons at googlemail.com
Thu Jan 13 12:59:32 UTC 2011


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

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list