cd /Users/micate/Downloads/
wget http://xdebug.org/files/xdebug-2.2.1.tgz
tar zxvf xdebug-2.2.1.tgz
cd xdebug-2.2.1/
phpize
./configure; make
sudo make install3, 打开 php.ini,在最后面追加下述配置:
[xdebug]
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.idekey="PHPSTORM"
xdebug.remote_host=127.0.0.1
xdebug.remote_enable=on重启下 Web Server(Apache / Nginx),使用 phpinfo() 页面或命令行工具,确认模块安装完成。
447



被折叠的 条评论
为什么被折叠?



