php--xdebug安裝失敗

apache的錯誤日誌老出現:php

 

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

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 ServerNameapache

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

 

致使xdebug總是不能加載,試了好多版本的,但是都不行,最後搜到一個解決方案:測試

  把phpinfo()的信息拷貝到xdebug官網的一個測試頁面: http://www.xdebug.org/find-binary.php ,讓官網來測試個人環境找到合適的版本,這確實不錯哦debug

 

雖然不是Warning: DocumentRoot [D:/webserver/apache2.2/docs/dummy-host2.localhost] does not exist,這個問題,日誌

但這個警告仍是不太清楚!server

相關文章
相關標籤/搜索