Heim  >  Artikel  >  php教程  >  php 安装xdebug扩展

php 安装xdebug扩展

WBOY
WBOYOriginal
2016-06-06 19:43:34989Durchsuche

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 扩展获取地址 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"<span>
xdebug</span>.remote_enable =1<span>
xdebug</span>.remote_handler = "dbgp"<span>
xdebug</span>.remote_host = "localhost"<span>
xdebug</span>.remote_mode = "req"<span>
xdebug</span>.remote_port = 9001<span>
xdebug</span>.idekey = PHPSTORM

修改phpstrom配置

php 安装xdebug扩展

 

 php 安装xdebug扩展

 

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn