[Solved] Xdebug And Yii2 Error

Hello everyone, I don’t know if this is a Yii2 bug or something that’s happening just on my computer. When I execute ./yii on my terminal I get the following message

PHP Warning:  Module 'xdebug' already loaded in Unknown on line 0

And then

PHP Core Warning 'yii\base\ErrorException' with message 'Module 'xdebug' already loaded'

in ./Unknown:0

Stack trace:

#0 {main}

I did a grep xdebug /etc/php.ini and I got







Any clue about what’s happening here?

Thanks in advance and congratulations for this new major release :)


I commented out the line that said:


on my php.ini.

Thanks anyway!

Thanks !! this thing has troubled me for ages but I always thought that this module is a must.

That’s little bit strange because my server config has an enabled option


and on my terminal all work fine for me, without any errors or notice… hm.