GithubHelp home page GithubHelp logo

Comments (10)

lorisleiva avatar lorisleiva commented on July 21, 2024 1

Oh IIRC that's just a warning to be explicit in declaring your usage of ext-http. Simply adding "ext-http": "*" to your project's composer.json should do the trick.

from laravel-docker.

lorisleiva avatar lorisleiva commented on July 21, 2024

Hi there 👋

Is that an error you did not get before upgrading to latest?

I don't think Laravel Docker ever included the ext-http extension as it's not a prerequisite for Laravel.

Did you perhaps recently install a package that require that extension? If so could you tell me which one so I see if Laravel Docker could benefit from this extension.

Thank you for your help.

from laravel-docker.

LocalHeroPro avatar LocalHeroPro commented on July 21, 2024

Right now I don't see from where PhpStorm tells me to add that extension to compose.json.
Workaround for me is something like this: http://5.9.10.113/61999796/how-to-add-ext-http-in-dockerfile
But unfortunately before_script doesn't exist on BB pipeline, so I can' install it manually ;/

from laravel-docker.

LocalHeroPro avatar LocalHeroPro commented on July 21, 2024

Found it.
image

from laravel-docker.

LocalHeroPro avatar LocalHeroPro commented on July 21, 2024

When I add that extension, your doker image don't work, because their is missing that extension and composer don't pass installation because of missing docker dependencies.

from laravel-docker.

LocalHeroPro avatar LocalHeroPro commented on July 21, 2024

Bumpt.

from laravel-docker.

lorisleiva avatar lorisleiva commented on July 21, 2024

Hi there 👋 I'm happy to accept a PR for this for all current versions of PHP supported.

from laravel-docker.

ahmedch1 avatar ahmedch1 commented on July 21, 2024

Oh IIRC that's just a warning to be explicit in declaring your usage of ext-http. Simply adding "ext-http": "*" to your project's composer.json should do the trick.

I am working on other project using Symfony 5.4 , the warning on phpstorm disappears when I approve the mentionned , add 'ext-http'; Thanks

from laravel-docker.

Qasim-Aziz avatar Qasim-Aziz commented on July 21, 2024

facing same problem in docker

Problem 1 #13 2.251 - Root composer.json requires PHP extension ext-http * but it is missing from your system. Install or enable PHP's http extension.

from laravel-docker.

Qasim-Aziz avatar Qasim-Aziz commented on July 21, 2024

this script make it working
https://stackoverflow.com/questions/59867951/docker-how-to-install-php-7-4-extension-ext-http

`ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod +x /usr/local/bin/install-php-extensions && sync &&
install-php-extensions http`

from laravel-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.