You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the small image laravelsail/php8x-composer:latest to initial install dependencies this fails due to missing mysql PDO extension.
The error is:
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
If i pull a fresh image of laravelsail/php8x-composer there is always composer present. I checkt it with all php 8 versions.
Maybe your image is overwritten by an other image build? With docker rmi IMAGE you can delete an image. If you execute your command again, the image is pulled again.
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.
Sail Version
1.xis
Laravel Version
10.x
PHP Version
8.2, 8.3
Operating System
macOS
OS Version
14.x
Description
When using the small image
laravelsail/php8x-composer:latest
to initial install dependencies this fails due to missing mysql PDO extension.The error is:
This variable is in
config/database.php
as option for the mysql config.This method is advertise here: https://laravel.com/docs/10.x/sail#installing-composer-dependencies-for-existing-projects but does not work now that the PDO mysql extension is missing.
Steps To Reproduce
Create a new project from scratch.
Then try to install the dependencies using:
The text was updated successfully, but these errors were encountered: