Skip to content

Commit 5771057

Browse files
committed
Change min PHP version to 8.0
1 parent e6015fa commit 5771057

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎public/index.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
// Check PHP version.
4-
$minPhpVersion = '7.4'; // If you update this, don't forget to update `spark`.
4+
$minPhpVersion = '8.0'; // If you update this, don't forget to update `spark`.
55
if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
66
$message = sprintf(
77
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s',

‎spark‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (strpos(PHP_SAPI, 'cgi') === 0) {
2727
}
2828

2929
// Check PHP version.
30-
$minPhpVersion = '7.4'; // If you update this, don't forget to update `public/index.php`.
30+
$minPhpVersion = '8.0'; // If you update this, don't forget to update `public/index.php`.
3131
if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
3232
$message = sprintf(
3333
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s',

0 commit comments

Comments
 (0)