Skip to content

Commit 71599de

Browse files
committed
Change min PHP version to 8.0
1 parent e1b920f commit 71599de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)