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.

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"

  1. Install Xdebug for PHP under Ubuntu
  2. Check which Apache modules are loaded
  3. Check what Linux kernel modules are loaded
  4. How to broadcast text message to all users
  5. Remove all queued message in Postfix

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>