I've been trying to install composer, but keeps getting error "Segmentation fault:11". Below is a list of what I have tried:
sudo curl -sS https://getcomposer.org/installer | php
Output:
#!/usr/bin/env php All settings correct for using Composer Segmentation fault: 11
- Reinstall command line tools
- Update homebrew
- Install php54 and composer using homebrew
This one succeeds, but when I tried to type "composer" in my command line, it gives the following output:
/usr/local/bin/composer: line 3: 27938 Segmentation fault: 11 /usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off /usr/local/Cellar/composer/1.0.0-alpha8/libexec/composer.phar $*
I've also tried using the older alpha builds, and all of them gives the same segmentation fault 11 error
Any help would be appreciated. Thanks!