xdebug.remote_autostart、remote 和 connect_back 未打开 [英] xdebug.remote_autostart, remote, and connect_back not turning on
问题描述
我花了一些时间试图弄清楚为什么 autostart、remote 和 connect_back 设置无法打开.我已经输入:
I've spent some time trying to figure out why the autostart, remote , and connect_back settings wont turn on. I've typed in:
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1
;xdebug.remote_host=192.168.1.108
所有这些都放入 php.ini 文件中,重新启动服务器,当我检查 MAMP 页面上的配置页面时,这些设置仍然显示为 OFF.知道这是为什么...
All this into the php.ini file, restarted servers, and when I check the configuration page on the MAMP page, these settings still read OFF. Any idea why this is...
推荐答案
这太晚了,但是,您需要编辑正确的 php.ini 文件.MAMP 带有 2 个或更多!
This is super late, but, you need to edit the correct php.ini file. MAMP comes with 2 or more!
从 MAMP 控件/应用程序启动 PHP_INFO() 页面,或创建您自己的页面.检查加载的配置文件
From the MAMP control/app launch the PHP_INFO() page, or make your own. Check the path value for the Loaded Configuration File
这是要编辑的 php.ini.
That is the php.ini to edit.
这篇关于xdebug.remote_autostart、remote 和 connect_back 未打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!