Open LocalHeroPro opened 3 years ago
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.
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 ;/
Found it.
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.
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.
Bumpt.
Hi there 👋 I'm happy to accept a PR for this for all current versions of PHP supported.
Oh IIRC that's just a warning to be explicit in declaring your usage of
ext-http
. Simply adding"ext-http": "*"
to your project'scomposer.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
facing same problem in docker
` Problem 1
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`
I get missing
ext-http
extensionon lorisleiva/laravel-docker:latest