php 安装xdebug扩展
生活随笔
收集整理的這篇文章主要介紹了
php 安装xdebug扩展
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?
php 擴展獲取地址?http://pecl.php.net/package/
編譯安裝的過程
wget http://pecl.php.net/get/xdebug-2.2.2.tgz
tar -zxvf xdebug-2.2.2.tgz
cd xdebug-2.2.2/
/data/klj/php/bin/phpize
./configure --enable-xdebug --with-php-config=/data/klj/php/bin/php-config
make
make install
修改php配置文件 配置xdebug端口和phpstrom一致
zend_extension = "/data/klj/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" xdebug.remote_enable =1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_mode = "req" xdebug.remote_port = 9001xdebug.remote_connect_back=1
xdebug.remote_autostart=1
xdebug.idekey = PHPSTORM
修改phpstrom配置
?
?
?
轉載于:https://www.cnblogs.com/klj123wan/p/4167576.html
總結
以上是生活随笔為你收集整理的php 安装xdebug扩展的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: spring容器注入一个接口的两个实现类
- 下一篇: PHP内核探索之变量(6)- 后续内核探