Skip to content

Instantly share code, notes, and snippets.

@rezigned
Last active December 11, 2015 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rezigned/4547275 to your computer and use it in GitHub Desktop.
Save rezigned/4547275 to your computer and use it in GitHub Desktop.
Troubleshooting

Cannot install Composer (Dependency Manager for PHP)

If you're trying to install composer with curl -s https://getcomposer.org/installer | php command and having this error

detect_unicode = Off
A php.ini file does not exist. You will have to create one.

You can avoid this problem by passing -d detect_unicode=Off as an argument for php like this

curl -s https://getcomposer.org/installer | php -d detect_unicode=Off

References

http://www.andrew-kirkpatrick.com/2012/10/install-composer-for-php-on-zend-server-mac-os-x/

Makefile:6: *** missing separator. Stop.

This is because most Unix make programs require TABs not spaces.

Solution

Make sure to convert spaces to tab!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment