Composer安装失败,出现总线错误:10 [英] Composer install fails with bus error: 10
本文介绍了Composer安装失败,出现总线错误:10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试通过以下方式安装作曲家:
I'm trying to install composer with:
curl -sS https://getcomposer.org/installer | php
这失败,并显示错误消息:
This fails with the error message:
Bus error: 10
我也尝试过
php -r "readfile('https://getcomposer.org/installer');" | php
给出相同的错误.
我在OSX 10.10.3和PHP 5.6上安装了自制软件.
I'm on OSX 10.10.3 and PHP 5.6 installed with homebrew.
有什么想法吗?
推荐答案
那真是令人讨厌.我实际上检查了所有事情,直到发现xdebug强制 all php脚本在PhpStorm调试器中停止.
That was a nasty one. I actually checked all sorts of things until I discovered that xdebug forces all php scripts to stop in PhpStorm debugger.
在PhpStorm中禁用调试器显然可以解决问题.
Disablling the debugger in PhpStorm obviously solved the problem.
这篇关于Composer安装失败,出现总线错误:10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文