php+phpStorm+xdebug配置方法,phpstormxdebug
1.下载xdebug文件
http://xdebug.org/wizard.php
将phpinfo()的源代码复制到文本框中,xdebug会提示如何配置和下载哪个版本的xdebug。
全部下载地址:
http://www.xdebug.org/download.php
2.配置php.ini,在末尾加上。
<span>[xdebug] zend_extension</span>="php_xdebug-2.3.3-5.6-vc11.dll"<span> xdebug</span>.remote_enable =<span> On xdebug</span>.remote_handler = "dbgp"<span> xdebug</span>.remote_host = "localhost"<span> xdebug</span>.remote_port = 9000<span> xdebug</span>.idekey = PHPSTROM
3.chrome的xdebug配置
在IDE key里将其配置成“phpStorm”
项目地址:https://github.com/mac-cain13/xdebug-helper-for-chrome
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;
查看xdebug是否正确配置:进入到php.exe目录:执行php.exe -m可以查看相关模块。
相关文件下载地址:
http://pan.baidu.com/share/link?shareid=1091659896&uk=3829305083
http://pan.baidu.com/share/link?shareid=1099541549&uk=3829305083

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),