Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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_socket}', $fpm_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_socket = '';
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment