使用PhpStorm+xdebug远程调试php
软件配置
软件 | 版本 |
---|---|
mac os | 10.11.2 |
nginx | 1.6.3 |
php-fpm | |
xdebug | 2.4.0rc3 |
php | 5.6.7 |
安装xdebug
- 从xdebug官网下载xdebug的源码
- 解压
tar -xvzf xdebug-2.4.0rc3.tgz
cd xdebug-2.4.0RC3
./configure
make
cp module/xdebug.so <any/path/you/want>
软件 | 版本 |
---|---|
mac os | 10.11.2 |
nginx | 1.6.3 |
php-fpm | |
xdebug | 2.4.0rc3 |
php | 5.6.7 |
tar -xvzf xdebug-2.4.0rc3.tgz
cd xdebug-2.4.0RC3
./configure
make
cp module/xdebug.so <any/path/you/want>