File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
// 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`.
5
5
if (version_compare (PHP_VERSION , $ minPhpVersion , '< ' )) {
6
6
$ message = sprintf (
7
7
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s ' ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if (strpos(PHP_SAPI, 'cgi') === 0) {
27
27
}
28
28
29
29
// 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`.
31
31
if (version_compare (PHP_VERSION , $ minPhpVersion , '< ' )) {
32
32
$ message = sprintf (
33
33
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s ' ,
You can’t perform that action at this time.
0 commit comments