PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 6, 2022

[FIXED] Composer install fails with bus error: 10

 January 06, 2022     composer-php, homebrew, macos, php     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing