[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)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s