欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

淺談php+phpStorm+xdebug配置方法

 更新時(shí)間:2015年09月17日 11:34:12   作者:myall  
本文給大家淺談php+phpStorm+xdebug配置方法,需要的朋友可以參考下

1.下載xdebug文件

http://xdebug.org/wizard.php

將phpinfo()的源代碼復(fù)制到文本框中,xdebug會(huì)提示如何配置和下載哪個(gè)版本的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

3.chrome的xdebug配置

在IDE key里將其配置成“phpStorm”

項(xiàng)目地址:https://github.com/mac-cain13/xdebug-helper-for-chrome

4.phpStorm的相關(guān)配置

打開phpStorm,

-進(jìn)入File>Settings>PHP>Servers,這里要填寫服務(wù)器端的相關(guān)信息,name填localhost,host填localhost,port填80,debugger

選XDebug

-進(jìn)入File>Settings>PHP>Debug,看到XDebug選項(xiàng)卡,port填9000,其他默認(rèn)

-進(jìn)入File>Settings>PHP>Debug>DBGp Proxy,IDE key 填 phpStorm,host 填localhost,port 填80

-點(diǎn)OK退出設(shè)置。

5.其他配置:

在phpStorm里打開監(jiān)聽(電話按鈕)。

對(duì)apache進(jìn)行重啟,如使用命令行:net stop apache24 & net start apache24;

查看xdebug是否正確配置:進(jìn)入到php.exe目錄:執(zhí)行php.exe -m可以查看相關(guān)模塊。

相關(guān)文件下載地址:

http://pan.baidu.com/share/link?shareid=1091659896&uk=3829305083

http://pan.baidu.com/share/link?shareid=1099541549&uk=3829305083

以上內(nèi)容就是本文給大家介紹的php+phpStorm+xdebug配置方法,希望大家喜歡。

相關(guān)文章

最新評(píng)論