xdebug in phpinfo() is not showing

故事扮演 提交于 2019-12-13 11:17:54

问题


I have literally spent an entire day on solving the issue for xdebug not showing on phpinfo(). I've checked the file path is correct.


回答1:


Windows 7 Home Premium, the contents of the php.ini file regarding xdebug are :

;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"

the full path of the php.ini file is: C:\xampp\php\php.ini

I changed the ;xdebug.remote.enable from 0 to 1 by opening the XAMPP and then config and then PHP, and then it disappeared from phpinfo.

I run phpinfo both in console and in webserver



来源:https://stackoverflow.com/questions/31533781/xdebug-in-phpinfo-is-not-showing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!