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
ISPConfig
ISPConfig 3
Commits
00af520a
Commit
00af520a
authored
Jan 23, 2017
by
Till Brehm
Browse files
Set correct PHP 7 socket path on Ubuntu 16.04 in apps vhost.
parent
eb594665
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
00af520a
...
...
@@ -2076,6 +2076,11 @@ class installer_base {
// SSL in apps vhost is off by default. Might change later.
$content
=
str_replace
(
'{ssl_on}'
,
'off'
,
$content
);
$content
=
str_replace
(
'{ssl_comment}'
,
'#'
,
$content
);
// Fix socket path on PHP 7 systems
if
(
file_exists
(
'/var/run/php/php7.0-fpm.sock'
))
{
$content
=
str_replace
(
'/var/run/php5-fpm.sock'
,
'/var/run/php/php7.0-fpm.sock'
,
$content
);
}
wf
(
$vhost_conf_dir
.
'/apps.vhost'
,
$content
);
...
...
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