CodeIgniter Forums
Upgrade to 4.1 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Upgrade to 4.1 (/showthread.php?tid=78558)



Upgrade to 4.1 - the_martux - 02-07-2021

Hello I updated codeigniter from version 4.0.4 to version 4.0.5.
I tried to update from version 4.0.5 to 4.1 with "composer update", but there is nothing to update.
I tried to install the latest version directly with the command "composer create-project codeigniter4/appstarter", but I can only install 4.0.5 version.
Where am I wrong? thanks


RE: Upgrade to 4.1 - iRedds - 02-07-2021

Check php version. CI 4.1 require php 7.3


RE: Upgrade to 4.1 - MattPayne - 02-09-2021

Make sure your php is up to date.


RE: Upgrade to 4.1 - Merurz - 02-22-2021

Same problem here ! I have try with PHP 7.3.27 and 7.4.8

And i try with this command "composer update --no-dev", and this is my composer.json

Code:
{
    "name": "codeigniter4/appstarter",
    "type": "project",
    "description": "CodeIgniter4 starter app",
    "homepage": "https://codeigniter.com",
    "license": "MIT",
    "require": {
        "php": ">=7.2",
        "codeigniter4/framework": "^4"
    },
    "require-dev": {
        "fzaninotto/faker": "^1.9@dev",
        "mikey179/vfsstream": "1.6.*",
        "phpunit/phpunit": "^8.5"
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\Support\\": "tests/_support"
        }
    },
    "scripts": {
        "post-update-cmd": [
            "@composer dump-autoload"
        ],
        "test": "phpunit"
    },
    "support": {
        "forum": "http://forum.codeigniter.com/",
        "source": "https://github.com/codeigniter4/CodeIgniter4",
        "slack": "https://codeigniterchat.slack.com"
    }
}

[Image: 1.png]