Commit 23af232f authored by Till Brehm's avatar Till Brehm
Browse files

#4019 Do not switch apps vhost to tcp connections on Ubuntu 16.04 nginx setup.

parent 9a9242b4
......@@ -2085,7 +2085,7 @@ Email Address []:
$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 {
......
Markdown is supported
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