I'm trying to run composer require phpseclib/mcrypt_compat:dev-master
in an empty directory and am getting the following error:
./composer.json has been created
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 phpseclib/mcrypt_compat dev-master -> satisfiable by phpseclib/mcrypt_compat[dev-master].
- phpseclib/mcrypt_compat dev-master requires phpseclib/phpseclib dev-master -> satisfiable by phpseclib/phpseclib[d
ev-master] but these conflict with your requirements or minimum-stability.
Installation failed, deleting ./composer.json.
I do not understand this. https://github.com/phpseclib/phpseclib/blob/master/composer.json says that the minimum required PHP version is 5.6.1. There are two other libs that are required but Composer isn't saying that those other libs are incompatable - Composer is saying phpseclib/phpseclib is incompatable.
Here's the output I get when I type in php -v
:
PHP 7.0.26 (cli) (built: Nov 22 2017 13:19:37) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
PHP 7.0.26 is newer than PHP 5.6.1, the minimumally required version for phpseclib/phpseclib:dev-master.
Any ideas?