安装xampp
现在最新的版本是1.7.3,去下载下来,安装即可,这步很简单。
下载eclipse
去网上下载一个 PDT 2.1 SR-1 All In Ones 版本的eclipse,
下载Xdebug
我用Xdebug来调试PHP
下载页面
把下载下来后的Xdebug,放到C:\xampp\php\ext\目录下,当然也可以选其他目录
配置PHP.ini
在PHP.ini最下方,加入下列代码:
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts=”C:\xampp\php\ext\php_xdebug-2.0.5-5.3-vc6.dll”
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir=”C:\xampp\tmp”
千万别忘了,在PHP.ini中找到zend_extension, 把它修改为:
zend_extension = “C:\xampp\php\ext\php_xdebug-2.0.5-5.3-vc6.dll”
我就是没有修改这个,一直调试不成功,浪费了很多时间。
配置eclipse
找到Windows -> Preferences -> PHP ->PHP Executables 加入xdebug
然后在debug configuration 里面配置就好了。
————————————————
版权声明:本文为CSDN博主「外星菜鸟」的原创文章,遵循CC 4.0 BY-SA版权协议, 转载请附上原文出处链接及本声明。
原文链接:https :// blog.csdn.net/weixin_28711397/article/details/114476538
转载请注明:XAMPP中文组官网 » xampp mysql 卸载_安装xampp怎么卸载