Answer the question
In order to leave comments, you need to log in
This package requires php ^7.2.2 but your PHP version (7.1.9)?
[email protected]:~$ php -v
PHP 7.2.2-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 1 2018 16:01:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.2-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
with Zend Server Z-Ray v9.2.0, Copyright (c) 2004-2017, by Zend Technologies
with blackfire v1.18.2~linux-x64-non_zts72, https://blackfire.io, by SensioLabs
"require": {
"php": "^7.2.2",
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- This package requires php ^7.2.2 but your PHP version (7.1.9) does not satisfy that requirement.
Answer the question
In order to leave comments, you need to log in
there may be another problem in .env
https://github.com/laravel/framework/issues/20214#...
https://github.com/laravel/framework/issues/20214#...
I encountered this behavior there - it is 7.2 by default, but in fact 7.1
Try to go into the virtual machine and change to the manual version of PHP
, a numbered list of alternatives will be offered (in particular, indicating the path to real files) with a suggestion to enter number (from the list) to change the current choice of alternative, well, restart PHP-FPM.
If this option works, you will need to add a command to after.sh and write something to the developers ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question