Answer the question
In order to leave comments, you need to log in
Why does Composer see the wrong version of PHP?
I'm trying to install dependencies, I get the following message:
# 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
- Installation request for cache/simple-cache-bridge ^1.0 -> satisfiable by cache/si mple-cache-bridge[1.0.0].
- cache/simple-cache-bridge 1.0.0 requires php ^5.6 || ^7.0 -> your PHP version (5.3 .3) does not satisfy that requirement.
Problem 2
- Installation request for cache/apcu-adapter ^1.0 -> satisfiable by cache/apcu-adap ter[1.0.0].
- cache/apcu-adapter 1.0.0 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) doe s not satisfy that requirement.
Problem 3
- phpoffice/phpspreadsheet 1.3.1 requires php ^5.6|^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
- phpoffice/phpspreadsheet 1.3.0 requires php ^5.6|^7.0 -> your PHP version (5.3.3)
# php -v
PHP 5.6.33 (cli) (built: Jan 19 2018 11:32:55)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.4, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
php -r "echo phpinfo();"
, it also gives 5.6.33
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question