-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow PHP version to be selected from many when in FPM mode
- Loading branch information
Showing
1 changed file
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8d30bc9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with multiple virtual-servers and PHP versions. All is working great!. I will tag a new release.
Thanks Jamie!
8d30bc9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jamie, I see a bug here - if PHP version is changed from PHP Versions page and execution mode is set to FCGI, then after changing PHP version it fails with an error 502 Bad Gateway. Meanwhile, FPM mode works just fine. Could you double check what an issue could be?
8d30bc9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work OK for me. Which PHP version are you seeing this problem for, and on which Linux distro?
8d30bc9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was happening on Ubuntu 20.04 GPL. I made clean reinstall to double check and now it's also fine on my side too. I don't know exactly what was that or how to reproduce it. If it happens again, I will let you know.
8d30bc9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did just checked in a fix to detect the fast where PHP is installed but the PHP CGI package needed to run a fastcgi server is missing.