PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
howtobsd# php -v
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHP 5.3.3 with Suhosin-Patch (cli) (built: Sep 25 2010 23:22:23) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
To avoid this error we just need open ini file where loading module xdebag.so.
In FreeBSD it is:
howtobsd# vim /usr/local/etc/php/extensions.ini
and change string:
extension=xdebug.so
to:
zend_extension_ts=xdebug.so
That is all, problem is solved.
Posted on April 17th, 2011 by admin
Filed under: Solutions
Thanks a lot, it’s works!
BANG! just like that that that there… thanks for the post solved quick and easy.
Tks for post