Thursday, January 6, 2022

[FIXED] Composer install fails with bus error: 10

Issue

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?


Solution

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.



Answered By - BetaRide

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.