CodeIgniter Forums

Full Version: Upgrade to 4.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Check php version. CI 4.1 require php 7.3
Make sure your php is up to date.
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": "^[email protected]",
        "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]