xdebug安装

来源:互联网 发布:人工智能如何硬件实现 编辑:程序博客网 时间:2024/06/08 14:42

很多人遇到xdebug安装不上问题。原因在于,在windows中,php.ini的位置在c:\windows\。

在用phpinfo()输出时,可以看到位置说明:

Configuration File (php.ini) Path C:\WINDOWS\php.ini。

而不是由xdebug.org给出的如下:

Instructions

  1. Download
  2. Move the downloaded file to D:\usr\local\php5\ext
  3. Create php.ini in the same folder as where php.exe is and add the line
    zend_extension_ts = D:\usr\local\php5\ext\
  4. Restart the webserver
位置。

原创粉丝点击