Php assembly xdebug extension-php Tutorial

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.