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

[Howto]: Configure different PHP version for separate projects #962

Open
5 of 8 tasks
cw95403 opened this issue Feb 14, 2023 · 0 comments
Open
5 of 8 tasks

[Howto]: Configure different PHP version for separate projects #962

cw95403 opened this issue Feb 14, 2023 · 0 comments

Comments

@cw95403
Copy link

cw95403 commented Feb 14, 2023

Have you already checked elsewhere?

What are you struggling with?

I am working on getting different versions of PHP running with different projects.

The error I am getting is the following when attempting to access a project that uses other than the default version of PHP:

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I am on an M1 Mac with:
Devilbox v3.0.0-beta-0.3 (2023-01-02)

I have run through the configuration instructions on #942

docker-compose.override.yml is active
PHP56 and PHP81 are loaded. PHP81 is the system default
backend.cfg consists of: conf:phpfpm:tcp:php56.local:9000

The Devilbox virtual hosts page displays the following in the backend column: tcp://php56.local:9000

Any suggestions on how to get it working would be much appreciated.

What have you tried already?

Run through available documentation, validate configurations. Validate proper containers are running. Shelling into running containers.

What is your goal?

Use different versions of PHP on different projects.

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

No branches or pull requests

1 participant