[XDEBUG] Xdebug MUST be loaded as a Zend extension in Unknown + solution

Environment : Ubuntu  + PHP

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

Solution :

Go to /etc/php5/conf.d/xdebug.ini

open it and find : extension=/usr/lib/php5/20090626/xdebug.so or extension=xdebug.so

change it to : zend_extension=/usr/lib/php5/20090626/xdebug.so (pay attention to your path abolute)