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

https://blog.csdn.net/qdujunjie/article/details/38415033

找到php.ini

其中找到xdebug扩展加载处:

extension=/usr/local/Cellar/php54-xdebug/2.2.5/xdebug.so

修改为:

zend_extension=/usr/local/Cellar/php54-xdebug/2.2.5/xdebug.so

之后我们重启nginx

然后再查看php扩展:

...

xmlrpc
xmlwriter
xsl

[Zend Modules]
Xdebug

posted @ 2020-03-22 21:28  程序生(Codey)  阅读(719)  评论(0编辑  收藏  举报