Skip to content

Commit

Permalink
Properly respect default PHP mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Sep 21, 2022
1 parent aa440d7 commit 7e65268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ feat_notrunning=.. Nginx webserver is not running
feat_setupalias=Updating target Nginx virtual host ..
feat_phpfcgid=Starting PHP FastCGI server ..
feat_phpfpm=Setting up PHP pool ..
feat_phpnone=Disabling PHP ..
feat_failed=.. failed : $1
feat_delete=Removing Nginx virtual host ..
feat_deletelogs=Deleting Nginx webserver log files ..
Expand Down
2 changes: 1 addition & 1 deletion virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ sub feature_setup
&$virtual_server::second_print($virtual_server::text{'setup_done'});

# Set up fcgid or FPM server
my $mode = $tmpl->{'web_php_suexec'} == 3 ? "fpm" : "fcgid";
my $mode = &virtual_server::template_to_php_mode($tmpl);
&$virtual_server::first_print($text{'feat_php'.$mode});

# Create initial config block for running PHP scripts. The port gets
Expand Down

0 comments on commit 7e65268

Please sign in to comment.