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