Answer the question
In order to leave comments, you need to log in
How to upgrade php version in Open Server to php 7.1.3?
When installing the project, I get errors:
composer update
"- laravel/framework v5.7.3 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement."
- laravel/framework v5.7.26 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement.
- laravel/framework v5.7.25 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement.
- laravel/framework v5.7.24 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement.
- laravel/framework v5.7.23 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement.
- laravel/framework v5.7.22 requires php ^7.1.3 -> your PHP version (7.0.14) does not satisfy that requirement.
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.0.0",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"laravelcollective/html": "*",
"lavary/laravel-menu": "^1.7",
"intervention/image":"*"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"barryvdh/laravel-ide-helper": "^2.5",
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"Corp\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan ide-helper:generate",
"php artisan ide-helper:meta"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
Answer the question
In order to leave comments, you need to log in
go to the tray -> (desktop - bottom right, where the clock is) -> select the green flag of the open server -> RMB -> settings -> modules tab -> PHP -> in the drop-down list, select the desired version, if the one you need is not in the list, then go to ospanel.io and download with the required module.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question