Install the xdebug extension and phpxdebug extension in php. Php install xdebug extension, phpxdebug extension php extension get address pecl. php. netpackage compilation installation process wgetpecl. php. netgetxdebug-2.2.2.tgztar-zxvfxdebug-2.2 php install xdebug extension, phpxdebug extension
Php Extension get 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 xdebug port of the php configuration file to be consistent with that of phpstrom.
zend_extension = "/data/klj/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so"xdebug.remote_enable =1xdebug.remote_handler = "dbgp"xdebug.remote_host = "localhost"xdebug.remote_mode = "req"xdebug.remote_port = 9001xdebug.idekey = PHPSTORM
Modify phpstrom configuration
Http://www.bkjia.com/PHPjc/929489.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/929489.htmlTechArticlephp install xdebug extension, phpxdebug extension php extension get address http://pecl.php.net/package/ compile installation process wget http://pecl.php.net/get/xdebug-2.2.2.tgz tar-zxvf xdebug-2.2...