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 ,讓官網來測試我的環境找到合適的版本,這確實不錯哦



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

但這個警告還是不太清楚!

發佈了48 篇原創文章 · 獲贊 7 · 訪問量 15萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章