Welcome Guest, Not a member yet? Register   Sign In
framework4.0.4 doenst run on php 7.1 alternative
#6

(This post was last modified: 11-03-2020, 04:59 AM by gelson.)

(11-02-2020, 11:57 PM)@john Betongthanks for the suggestion bro! really! but I tried that in the /public/index.php: Wrote: -----------------------------------------------------------
<?php

Valid PHP Version?
//$minPHPVersion = '7.2';
//if (phpversion() < $minPHPVersion)
//{
        //die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . phpversion());
//}
//unset($minPHPVersion);
-----------------------------------------------------------
but the error message still emerges...

that was a pretty nifty suggestion though 

Regards


Quote:
John_Betong@gelson,

As a temporary KLUDGE until you manage to upgrade the PHP version you could try disabling the error message and see if your new project actually breaks Smile

File: public/index.php
PHP Code:
<?php 
// Valid PHP Version?
$minPHPVersion '7.2';
if (
version_compare(PHP_VERSION$minPHPVersion'<'))
{
  // TEMPORARILY DISABLE UNTIL PHP Version upgraded
  // die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . PHP_VERSION);
}
unset(
$minPHPVersion); 

(11-02-2020, 11:57 PM)@John Betongthanks for the suggestion bro! really! but I tried that in the /public/index.php: Wrote: -----------------------------------------------------------
<?php

Valid PHP Version?
//$minPHPVersion = '7.2';
//if (phpversion() < $minPHPVersion)
//{
        //die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . phpversion());
//}
//unset($minPHPVersion);
-----------------------------------------------------------
but the error message still emerges...

that was a pretty nifty suggestion though 

Regards


Quote:
John_Betong@gelson,

As a temporary KLUDGE until you manage to upgrade the PHP version you could try disabling the error message and see if your new project actually breaks Smile

File: public/index.php
PHP Code:
<?php 
// Valid PHP Version?
$minPHPVersion '7.2';
if (
version_compare(PHP_VERSION$minPHPVersion'<'))
{
  // TEMPORARILY DISABLE UNTIL PHP Version upgraded
  // die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . PHP_VERSION);
}
unset(
$minPHPVersion); 
Reply


Messages In This Thread
RE: framework4.0.4 doenst run on php 7.1 alternative - by gelson - 11-03-2020, 04:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB