我正在尝试在infomaniak虚拟主机中安装symfony项目2.8版本。我已经安装了作曲家:
cd ~
mkdir .composer
curl -sS https://getcomposer.org/installer | php -d allow_url_fopen=On
并且我使用此命令来安装symfony:
php composer.phar create-project symfony/framework-standard-edition e-electricity "2.8.*"
我收到此错误消息:
Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: all
ow_url_fopen must be enabled in php.ini (https:// wrapper is disabled in th
e server configuration by allow_url_fopen=0
failed to open stream: no suitable wrapper could be found)
即使我的主机配置中启用了allow_url_fopen。