Skip to content

Commit

Permalink
bump min. PHP_VERSION ...
Browse files Browse the repository at this point in the history
... to PHP 7.1.3 (released 16 Mar 2017)
  • Loading branch information
Colinax committed Mar 18, 2020
1 parent 7ed9c0f commit 61226a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## Minimum requirements
- about 25 MB webspace
- PHP 5.6.30 (released 19 Jan 2017) or newer
- PHP 7.1.3 (released 16 Mar 2017) or newer
- mySQL 5.0 or newer
- mode_rewrite for `even nicer` URLs (optional)

Expand Down
2 changes: 1 addition & 1 deletion wbce/framework/initialize.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if(count(get_included_files()) == 1) header("Location: ../index.php", TRUE, 301);

// Stop execution if PHP version is too old
$sReqPhpVersion = '5.6.30';
$sReqPhpVersion = '7.1.3';
if (version_compare(PHP_VERSION, $sReqPhpVersion, '<')) {
$sMsg = 'PHP ' . PHP_VERSION . ' running on this system, but at least PHP ' . $sReqPhpVersion . ' required!<br />';
$sMsg .= 'Please upgrade your PHP Version and try running WBCE CMS again.';
Expand Down
2 changes: 1 addition & 1 deletion wbce/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
////////////////////////////////////////////

// No install button if Version failes
if (version_compare(PHP_VERSION, '5.6.30', '>=')) {
if (version_compare(PHP_VERSION, '7.1.3', '>=')) {
$sPhpVersion="good";
}
else {
Expand Down
2 changes: 1 addition & 1 deletion wbce/install/install_form.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function change_os(type) {
</tr>
<?php endif;?>
<tr>
<td >PHP Version >= 5.6.30</td>
<td >PHP Version >= 7.1.3</td>
<td><span class="<?php echo $sPhpVersion?>"> <?php echo PHP_VERSION;?> </span></td>
<td >PHP Session Support</td>
<td><span class="<?php echo $sSessionSupportClass?>"> <?php echo $sSessionSupportText?> </span></td>
Expand Down

0 comments on commit 61226a0

Please sign in to comment.