2019-02-13 16:53
浏览 3.4k


I am creating a php website using the symfony framework and composer.

  • Operating system: Windows 10
  • PHP version: 7.3.2
  • Symfony: 4.2.3 (env: dev, debug: true)
  • Composer: 1.8.4 (2019-02-11)

When I try to do compose update inside the projects folder or when I try to install a bundle using composer require symfony/swiftmailer-bundle I get the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-http * is missing from your system.
      Install or enable PHP's http extension.

(It says 'Problem 1', but it is the only problem listed.)

I already looked for the extension in my php.ini file, but I can't find it. Do I need to install an extension manually? If so, where can I find it?

Thanks in advance!

图片转代码服务由CSDN问答提供 功能建议


  • 操作系统:Windows 10
  • PHP版本:7.3.2
  • Symfony:4.2.3(env:dev,debug:true)
  • 作曲家:1.8.4(2019-02-11)

    当我尝试撰写更新时 在projects文件夹中或当我尝试使用 composer安装捆绑包时需要symfony / swiftmailer-bundle 我收到以下错误:

     您的要求可以 不能解析为一组可安装的软件包。
      - 系统中缺少所请求的PHP扩展名ext-http *。


    我已经在php.ini文件中查找了扩展名, 但我找不到它。 我是否需要手动安装扩展程序? 如果是这样,我在哪里可以找到它?


  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

5条回答 默认 最新

相关推荐 更多相似问题