安装Composer错误提示:The PHP exe file you specified did not run correctly [exit code -1073741643]

安装Composer错误提示:The PHP exe file you specified did not run correctly [exit code -1073741643]

原因:php.ini中xdebug配置导致的

解决:注释掉xdebug部分配置

[xdebug]
;加载xdebug库文件
zend_extension="D:/Program Files/php-7.2.30-Win32-VC15-x64/ext/php_xdebug-2.9.6-7.2-vc15-x86_64.dll"

xdebug.auto_trace="On"
xdebug.show_exception_trace="On"
xdebug.remote_autostart="On"
;开启远程调试
xdebug.remote_enable = "1"
;客户机ip
xdebug.remote_host = "localhost"
;客户机xdebug监听端口和调试协议
xdebug.remote_port = "9000"
;用于zend studio远程调试的应用层通信协议
xdebug.remote_handler = "dbgp"
xdebug.collect_vars="On"
;是否开启调试内容
xdebug.profiler_enable = "On"
xdebug.trace_output_dir="E:\xdebug_tmp\debug.log"
xdebug.profiler_output_dir="E:\xdebug_tmp\debug.log"

xdebug.idekey = PHPSTORM

注释掉之后:

;[xdebug]
;加载xdebug库文件
;zend_extension="D:/Program Files/php-7.2.30-Win32-VC15-x64/ext/php_xdebug-2.9.6-7.2-vc15-x86_64.dll"

;xdebug.auto_trace="On"
;xdebug.show_exception_trace="On"
;xdebug.remote_autostart="On"
;开启远程调试
;xdebug.remote_enable = "1"
;客户机ip
;xdebug.remote_host = "localhost"
;客户机xdebug监听端口和调试协议
;xdebug.remote_port = "9000"
;用于zend studio远程调试的应用层通信协议
;xdebug.remote_handler = "dbgp"
;xdebug.collect_vars="On"
;是否开启调试内容
;xdebug.profiler_enable = "On"
;xdebug.trace_output_dir="E:\xdebug_tmp\debug.log"
;xdebug.profiler_output_dir="E:\xdebug_tmp\debug.log"

;xdebug.idekey = PHPSTORM

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值