Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
82f3c22e
Commit
82f3c22e
authored
Sep 27, 2016
by
Till Brehm
Browse files
Fixed #4131 apps_vhost_plugin & socket with php5.6 or php7
parent
e33b6afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apps_vhost_plugin.inc.php
View file @
82f3c22e
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment