Home > Backend Development > PHP Tutorial > php install xdebug extension, phpxdebug extension_PHP tutorial

php install xdebug extension, phpxdebug extension_PHP tutorial

WBOY
Release: 2016-07-13 10:11:20
Original
914 people have browsed it

php install xdebug extension, phpxdebug extension

php extension access address http://pecl.php.net/package/

Compilation and installation process

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

Modify the php configuration file and configure the xdebug port to be consistent with 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
Copy after login

Modify phpstrom configuration

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/929489.htmlTechArticlephp install xdebug extension, phpxdebug extension php extension acquisition address http://pecl.php.net/package/ compile The installation process wget http://pecl.php.net/get/xdebug-2.2.2.tgz tar -zxvf xdebug-2.2...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template