Skip to content

Commit 23af232

Browse files
author
Till Brehm
committed
#4019 Do not switch apps vhost to tcp connections on Ubuntu 16.04 nginx setup.
1 parent 9a9242b commit 23af232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ public function configure_apps_vhost() {
20852085
$content = str_replace('{fpm_socket}', $fpm_socket, $content);
20862086
$content = str_replace('{cgi_socket}', $cgi_socket, $content);
20872087

2088-
if(file_exists('/var/run/php5-fpm.sock')){
2088+
if(file_exists('/var/run/php5-fpm.sock') || file_exists('/var/run/php/php7.0-fpm.sock')){
20892089
$use_tcp = '#';
20902090
$use_socket = '';
20912091
} else {

0 commit comments

Comments
 (0)