Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Aug 072010
 

Solving the warning message "Xdebug MUST be loaded as a Zend extension"

Answer:

If you have installed the xdebug, and the PHP interpreter show the following warning message every time you execute the php command.

Xdebug MUST be loaded as a Zend extension

It can be solved by adding the following line in your php.ini (Replace the path of you xdebug.so if they are different.)

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

And remember to remove any statement like the following which caused the problem..

extension="xdebug.so"

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>