Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Massimiliano
ISPConfig 3
Commits
ebd0e986
Commit
ebd0e986
authored
Apr 22, 2016
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added PHP 7 check in installer and updater.
parent
9bde45bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
install/install.php
install/install.php
+5
-0
install/update.php
install/update.php
+5
-0
No files found.
install/install.php
View file @
ebd0e986
...
...
@@ -102,6 +102,11 @@ $dist = get_distname();
if
(
$dist
[
'id'
]
==
''
)
die
(
'Linux distribution or version not recognized.'
);
//** Check the PHP Version
if
(
version_compare
(
PHP_VERSION
,
'7.0.0'
)
>=
0
)
{
die
(
'PHP 7 is not supported by ISPConfig 3.0.5. Plesae use ISPConfig version 3.1 instead.'
);
}
//** Include the autoinstaller configuration (for non-interactive setups)
error_reporting
(
E_ALL
^
E_NOTICE
);
...
...
install/update.php
View file @
ebd0e986
...
...
@@ -107,6 +107,11 @@ unset($conf);
if
(
$dist
[
'id'
]
==
''
)
die
(
'Linux distribution or version not recognized.'
);
//** Check the PHP Version
if
(
version_compare
(
PHP_VERSION
,
'7.0.0'
)
>=
0
)
{
die
(
'PHP 7 is not supported by ISPConfig 3.0.5. Plesae use ISPConfig version 3.1 instead.'
);
}
//** Include the autoinstaller configuration (for non-interactive setups)
error_reporting
(
E_ALL
^
E_NOTICE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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