File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2322,6 +2322,7 @@ public function configure_apps_vhost() {
23222322 || file_exists ('/var/run/php/php7.1-fpm.sock ' )
23232323 || file_exists ('/var/run/php/php7.2-fpm.sock ' )
23242324 || file_exists ('/var/run/php/php7.3-fpm.sock ' )
2325+ || file_exists ('/var/run/php/php7.4-fpm.sock ' )
23252326 ){
23262327 $ use_tcp = '# ' ;
23272328 $ use_socket = '' ;
@@ -2340,6 +2341,8 @@ public function configure_apps_vhost() {
23402341 if (file_exists ('/var/run/php/php7.0-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.0-fpm.sock ' , $ content );
23412342 if (file_exists ('/var/run/php/php7.1-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.1-fpm.sock ' , $ content );
23422343 if (file_exists ('/var/run/php/php7.2-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.2-fpm.sock ' , $ content );
2344+ if (file_exists ('/var/run/php/php7.3-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.3-fpm.sock ' , $ content );
2345+ if (file_exists ('/var/run/php/php7.4-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.4-fpm.sock ' , $ content );
23432346
23442347 wf ($ vhost_conf_dir .'/apps.vhost ' , $ content );
23452348
You can’t perform that action at this time.
0 commit comments