Skip to content

Commit

Permalink
Fixed: Error 503 (Service Unavailable) when using TCP/IP (PHP-FPM)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
nuxwin committed Feb 14, 2016
1 parent 9d9f596 commit d559d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/PerlLib/Servers/httpd/apache_php_fpm.pm
Expand Up @@ -1768,7 +1768,7 @@ sub _addCfg
# proxy_fcgi module case (Apache2 >= 2.4.10)
PROXY_LISTEN_MODE => $self->{'phpfpmConfig'}->{'LISTEN_MODE'} eq 'uds' ? 'unix' : 'fcgi',
PROXY_LISTEN_ENDPOINT => $self->{'phpfpmConfig'}->{'LISTEN_MODE'} eq 'uds'
? "/var/run/php5-fpm-$confLevel.sock|fcgi://$confLevel/" : "127.0.0.1:$data->{'PHP_FPM_LISTEN_PORT'}",
? "/var/run/php5-fpm-$confLevel.sock|fcgi://$confLevel/" : "//127.0.0.1:$data->{'PHP_FPM_LISTEN_PORT'}",
});

for my $template(@templates) {
Expand Down

0 comments on commit d559d92

Please sign in to comment.