1.下載xdebug文件
將phpinfo()的源代碼復制到文本框中,xdebug會提示如何配置和下載哪個版本的xdebug。
全部下載地址:
http://www.xdebug.org/download.php
2.配置php.ini,在末尾加上。
- zend_extension="php_xdebug-2.3.3-5.6-vc11.dll"
- xdebug.remote_enable = On
- xdebug.remote_handler = "dbgp"
- xdebug.remote_host = "localhost"
- xdebug.remote_port = 9000
- xdebug.idekey = PHPSTROM
新聞熱點
疑難解答