Php installation xdebug extension & nbsp; php extension get Address & nbsp; pecl. php. netpackage compilation and installation process wgetpecl. php. netgetxdebug-2.2.2.tgztar-zxvfxdebug-2.2.2.tgzcdxdebug-2.2.2datak php installation xdebug 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