Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Composer php 在注释掉zend扩展后显示启用了xdebug的编写器_Composer Php_Wampserver_Git Bash - Fatal编程技术网

Composer php 在注释掉zend扩展后显示启用了xdebug的编写器

Composer php 在注释掉zend扩展后显示启用了xdebug的编写器,composer-php,wampserver,git-bash,Composer Php,Wampserver,Git Bash,我已经安装了WampServer和Composer依赖关系管理器 在git bash中,当我执行composer-v时,会收到以下警告消息: “您正在运行已启用xdebug的composer。这对运行时性能有重大影响。请参阅” 按照提供的url中的说明,我已经在php.ini文件中注释掉了zend扩展名并保存了它 我的php.ini文件现在有以下相关行: ;zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-

我已经安装了WampServer和Composer依赖关系管理器

在git bash中,当我执行
composer-v
时,会收到以下警告消息:

“您正在运行已启用xdebug的composer。这对运行时性能有重大影响。请参阅”

按照提供的url中的说明,我已经在php.ini文件中注释掉了zend扩展名并保存了它

我的php.ini文件现在有以下相关行:

;zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"

[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=0

然后我停止并启动了所有wamp服务。重新启动gitbash并执行
composer-v
。但我仍然收到同样的警告信息。为什么它还在放映?我做错了什么?

很可能是您编辑了错误的ini文件,由Apache而不是CLI使用。在命令提示符下运行此命令:

php --ini
它将准确地显示需要编辑哪个ini文件才能从CLI调用中删除xdebug