Composer install error

4.5k Views Asked by At

I have been testing laravel in my local development environment. When I try to upload my sample project to my testing server, I realize I need to upgrade from php 5.2.17 to 5.3.15 (and install composer). I started having problems.

I use http to install because composer was complaining about ssl (even when I have extension=php_openssl.dll enabled

I have the following behavior:

$ curl -sS http://getcomposer.org/installer | php -d detect_unicode=Off -d allow_url_fopen=On
#!/usr/bin/env php
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:

The openssl extension is missing, which will reduce the security and stability of Composer.
If possible you should enable it or recompile php with --with-openssl

Downloading...

Composer successfully installed to: /xxx/composer.phar
Use it: php composer.phar

$ php composer.phar
??????????$

So, every command I try to use over composer (help about info) return the ??? message. What's happening?

Thanks for answering, I can't see anyone with this same error

1

There are 1 best solutions below

2
On

Finally I changed the php.ini code (CLI version) to cover composer's needs, that helped me with the extra text in every CLI command. Then apache restart and finally got it working. Thanks all for your help