配置xdebug总是有错误。

jinxinwei1986 2011-10-12 05:08:39
我的程序目录结构:LAMP下分别安装apache,mysql,php.
apache为2.2版本,php为:PHP Version 5.2.17。
按道理只要我下载一个php_xdebug-2.1.2-5.2-vc6.dll(xdebug网站推荐我这个版本的),然后把它复制到php/ext,然后再php/php.ini中加入zend_extension_ts = c:\Program Files\LAMP\php\ext\php_xdebug-2.1.2-5.2-vc6.dll(无论加上冒号,还是反斜杠修改成正斜杠),然后想重新启动apache,可是就是重启不了。


xdebug推荐的安装方法:
1:Download php_xdebug-2.1.2-5.2-vc6.dll
2:Move the downloaded file to c:\Program Files\LAMP\php\ext

//第三句话是什么意思?
3:Open C:\Program Files\LAMP\etc\cfg\debugger.ini and put a ; in front of the line that says zend_extension_manager.dir.debugger= so that it says ;zend_extension_manager.dir.debugger=

4:Edit C:\Program Files\LAMP\php\php.ini and add at the begining of the file the line
5:zend_extension_ts = c:\Program Files\LAMP\php\ext\php_xdebug-2.1.2-5.2-vc6.dll
6:Restart the webserver
...全文
131 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

21,891

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧