PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 Fix

Posted by Andrew McCombe on Fri Jul 2, 2010

When I upgraded my desktop to Ubuntu 10.04 (Lucid Lynx) I also upgraded my PHP version to 5.3. Apart from a few warnings with some deprecated functions (the main cuplrit being the ereg functions) all went well.

When using the Zend Tool command from the command line I started getting warnings about xdebug:

To fix this you need to change your extension loader in /etc/php5/cond.d/xdebug.ini to use zend_extension_ts: