php--xdebug安装失败

apache的错误日志老出现:


Warning: DocumentRoot [D:/webserver/apache2.2/docs/dummy-host2.localhost] does not exist

httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.169 for ServerName
Warning: DocumentRoot [D:/webserver/apache2.2/docs/dummy-host2.localhost] does not exist
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.169 for ServerName

Failed loading D:/webserver/php5/ext/php_xdebug-2.1.2-5.2-vc6-nts.dll


导致xdebug老是不能加载,试了好多版本的,可是都不行,最后搜到一个解决方案:

  把phpinfo()的信息拷贝到xdebug官网的一个测试页面: http://www.xdebug.org/find-binary.php ,让官网来测试我的环境找到合适的版本,这确实不错哦

php--xdebug安装失败_第1张图片


虽然不是Warning: DocumentRoot [D:/webserver/apache2.2/docs/dummy-host2.localhost] does not exist,这个问题,

但这个警告还是不太清楚!

你可能感兴趣的:(问题,php,php5,xdebug)