在服务器配置中,通过allow_url_fopen = 0禁用了infomaniak包装器

时间:2018-07-06 08:48:07

标签: symfony web deployment hosting

我正在尝试在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。

0 个答案:

没有答案