Skip to content

Switching to PHP-version-agnostic socket file #17890

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

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

ThomasLandauer
Copy link
Contributor

Page: https://symfony.com/doc/5.4/setup/web_server_configuration.html

This makes upgrading to a new PHP version so much easier (I just did that). If the PHP version is hardcoded in every domain's config file, it's a hassle to update them.

On the other hand: /var/run/php/php-fpm.sock is a symlink to the most recently installed PHP version, so this is what most people want probably.

I hope this doesn't interfere with the change I did in #17882 on the 6.2 branch.

Page: https://symfony.com/doc/5.4/setup/web_server_configuration.html

This makes upgrading to a new PHP version so much easier (I just did that). If the PHP version is hardcoded in every domain's config file, it's a hassle to update them.

On the other hand: `/var/run/php/php-fpm.sock` is a symlink to the most recently installed PHP version, so this is what most people want probably.

I hope this doesn't interfere with the change I did in symfony#17882 on the 6.2 branch.
@carsonbot carsonbot added this to the 5.4 milestone Feb 10, 2023
@javiereguiluz
Copy link
Member

Thank you Thomas.

@javiereguiluz javiereguiluz merged commit e47d852 into symfony:5.4 Feb 10, 2023
@ThomasLandauer ThomasLandauer deleted the patch-10 branch February 10, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants