Reputation: 41
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
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!
Upvotes: 2
Views: 2508
Reputation: 41
Turns out my error was caused by misconfigured php.ini file. Restoring it using php.ini.default solves the problem
Upvotes: 2