phpinfo()中的xdebug未显示

时间:2015-07-21 08:19:10

标签: php xdebug

我花了一整天的时间来解决xdebug没有在ng-repeat上显示的问题。我检查过文件路径是否正确。

1 个答案:

答案 0 :(得分:0)

Windows 7 Home Premium, 关于xdebug的php.ini文件的内容是:

;zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "C:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 1
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "127.0.0.1"
;xdebug.remote_port = 9000
;xdebug.trace_output_dir = "C:\xampp\tmp"

php.ini文件的完整路径是: C:\ XAMPP \ PHP \ php.ini中

我将xdebug.remote.enable从0更改为1,打开XAMPP然后配置然后PHP,然后它从phpinfo中消失。​​

我在控制台和网络服务器中运行phpinfo

相关问题