diff --git a/lang/en b/lang/en index 0a11253..a16a766 100644 --- a/lang/en +++ b/lang/en @@ -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 .. diff --git a/virtual_feature.pl b/virtual_feature.pl index ba5fcd8..e678139 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -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