Welcome Guest, Not a member yet? Register   Sign In
Upgrade to 4.1
#1

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
Reply
#2

Check php version. CI 4.1 require php 7.3
Reply
#3

(This post was last modified: 02-09-2021, 10:45 PM by MattPayne.)

Make sure your php is up to date.
Reply
#4

(This post was last modified: 02-23-2021, 01:44 AM by Merurz.)

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]
Reply




Theme © iAndrew 2016 - Forum software by © MyBB