Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Have PHP coming from Docker #336

Open
yguedidi opened this issue Aug 8, 2023 · 1 comment
Open

[RFC] Have PHP coming from Docker #336

yguedidi opened this issue Aug 8, 2023 · 1 comment

Comments

@yguedidi
Copy link
Contributor

yguedidi commented Aug 8, 2023

Different projects often have different needs in term of INI config or PHP extensions.
Most of INI config customization can be done already with a project scoped php.ini.
But what about PHP extensions? what if from a project to another they are not the same? or configured differently (hello GD)?

Would be great if, instead of having Symfony CLI use the locally installed php, it used a php service configured in the docker-compose.yaml file, or directly a Dockerfile.

So the PHP itself can be customized by project.
What do you think about this idea?

@tucksaun
Copy link
Contributor

Supporting Docker for running PHP is something I have in my mind for a couple of months now.
Though the initial support would be a bit different allowing to play with the concept before going further.
My idea was first to allow users to register Docker images in the PHP versions store and then use them natively.
This seems simple enough (no docker compose or dockerbuild involved) but complex enough (directory mounts and port mappings) to figure out if adding this kind of support is viable or not.

Unfortunately, I didn't get much time lately to investigate this, but I'd like to explore this soon (starting end of September probably).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants