php phpStorm xdebug配置方法

2022-08-19 13:27:08 字數 730 閱讀 9833

2.配置php.ini,在末尾加上。

[xdebug]

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 = 9000xdebug.idekey = phpstrom

3.chrome的xdebug配置

在ide key裡將其配置成「phpstorm」

4.phpstorm的相關配置

開啟phpstorm,

-進入file>settings>php>servers,這裡要填寫伺服器端的相關資訊,name填localhost,host填localhost,port填80,debugger選xdebug

-進入file>settings>php>debug,看到xdebug選項卡,port填9000,其他預設

-進入file>settings>php>debug>dbgp proxy,ide key 填 phpstorm,host 填localhost,port 填80

-點ok退出設定。

5.其他配置:

在phpstorm裡開啟監聽(**按鈕)。

對apache進行重啟,如使用命令列:net stop apache24 & net start apache24;

ha 配置ssl haproxy ssl 配置方式

haproxy ssl 有兩種方式 1 haproxy 本身提供ssl 證書,後面的web 伺服器走正常的http 2 haproxy 本身只提供 後面的web伺服器https 第一種方式 需要編譯haproxy 支援ssl,編譯引數 make target linux26 use openssl ...

Python IDLE(shell清屏配置方法)

具體操作如下 1.複製下面 clear window extension version 0.2 author roger d.serwy roger.serwy gmail.com date 2009 06 14 it provides clear shell window under optio...

linux tomcat配置https的方法

建立.keystore root centos apache tomcat 6.0.37 keytool genkey alias tomcat keyalg rsa keystore root tomcat apache tomcat 6.0.37 conf keystore 輸入keystore...