Composer install fails with bus error: 10

风格不统一 提交于 2019-12-10 10:16:08

问题


I'm trying to install composer with:

curl -sS https://getcomposer.org/installer | php

This fails with the error message:

Bus error: 10

I also tried

php -r "readfile('https://getcomposer.org/installer');" | php

which gives the same error.

I'm on OSX 10.10.3 and PHP 5.6 installed with homebrew.

Any ideas?


回答1:


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.

Disablling the debugger in PhpStorm obviously solved the problem.



来源:https://stackoverflow.com/questions/29700081/composer-install-fails-with-bus-error-10

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