Commit 82f3c22e authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4131 apps_vhost_plugin & socket with php5.6 or php7

parent e33b6afd
...@@ -169,7 +169,7 @@ class apps_vhost_plugin { ...@@ -169,7 +169,7 @@ class apps_vhost_plugin {
//$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port']+1, $content); //$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port']+1, $content);
$content = str_replace('{fpm_socket}', $fpm_socket, $content); $content = str_replace('{fpm_socket}', $fpm_socket, $content);
$content = str_replace('{cgi_socket}', $cgi_socket, $content); $content = str_replace('{cgi_socket}', $cgi_socket, $content);
if(file_exists('/var/run/php5-fpm.sock')){ if(file_exists('/var/run/php5-fpm.sock') || file_exists('/var/run/php/php7.0-fpm.sock')){
$use_tcp = '#'; $use_tcp = '#';
$use_socket = ''; $use_socket = '';
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment