“Perbarui versi PHP di Laravel” Kode Jawaban

Laravel Upgrade PHP Versi

// Go to your composer.json file in your project root
// Then search for the below configuration. And change 
// it to whatever version you need
Like this :
"php": "7.0.7"
or something like this :
"php": "^7.3|^8.0",

//Then run composer install
composer install
13Garth

Perbarui versi PHP di Laravel

"config": {
    "platform": {
        "php": "7.0.7"
    },
    "preferred-install": "dist",
    "optimize-autoloader": true
}

run composer install
Lokesh003Coding

Perbarui versi PHP di Laravel

"config": {
    "platform": {
        "php": "7.0.7"
    },
    "preferred-install": "dist",
    "optimize-autoloader": true
}

Best way to do this is to delete your composer.lock file, changing the platform > php version in composer.json and then
run composer install
gerson ondangan

Jawaban yang mirip dengan “Perbarui versi PHP di Laravel”

Pertanyaan yang mirip dengan “Perbarui versi PHP di Laravel”

Lebih banyak jawaban terkait untuk “Perbarui versi PHP di Laravel” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya