April 6, 2012

About 'XDEBUG NOT LOADED AS ZEND EXTENSION'

Question by lovespring

xdebug is loaded, but not loaded as a zend extension.
what this mean?
how to resolve it?

thanks!

Answer by Derick

This error means that you used “extension=” to load Xdebug. That could be in your normal php.ini, or in a file called xdebug.ini that some distributions like to add. In any case, Xdebug needs to be loaded as a Zend extension. The syntax for this depends on PHP version and build. I would suggest you use http://xdebug.org/wizard.php to provide you with the correct lines.

Answer by Starx

Make sure if it is configured to load correctly as a zend_extension. Inside php.ini add this line

zend_extension="/usr/local/php/modules/xdebug.so"

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!