Composer安装错误


Composer install error

我一直在本地开发环境中测试laravel。当我尝试将我的示例项目上传到测试服务器时,我意识到我需要从php5.2.17升级到5.3.15(并安装composer)。我开始有问题了。

我使用http进行安装,因为composer抱怨ssl(即使我启用了extension=php_openssl.dll

我有以下行为:

$ 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
??????????$

因此,我尝试在composer上使用的每个命令(关于信息的帮助)都会返回???消息。发生了什么事?

谢谢你的回答,我看不到任何人有同样的错误

最后,我更改了php.ini代码(CLI版本)以满足composer的需要,这帮助我在每个CLI命令中添加了额外的文本。然后apache重新启动并最终使其正常工作。感谢大家的帮助