我正在使用启用了openssl
的php版本5.4.7(我使用extension_loaded函数检查了这一点)。问题是当我想用self-update
,install
,update
等作曲家发出任何命令时,我收到此错误:
[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded: Failed to enable crypto
failed to open stream: operation failed
用于安装composer并使用curl -s https://getcomposer.org/installer | php
我收到此错误:
Download failed: file_get_contents(): Failed to enable crypto
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed
The download failed repeatedly, aborting.
当我使用https://google.com
或https://facebook.com
检查了file_get_contents函数时,没有任何错误。
任何帮助将不胜感激。