Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Errors with two-factor authentication #13826
When trying to configure two-factor authentication, I get some errors. To reproduce, I first ran
I think you've identified the problem, then — my CLI PHP version is 7.0.19-1, but the Apache module is 5.6.30-0+deb8u1. It seems to me that Composer must have installed packages based on the CLI version number, which of course causes trouble when run with the older PHP used with Apache.
I got paragonie/constant_time_encoding v2.2.0.
For historical reasons, I like to have my CLI as version 7 but the module as PHP5.
I forced Composer to run as PHP 5 and it downgraded two packages:
After doing so, I no longer get the error.
It seems to me that this version difference is, if anything, a Composer problem rather than phpMyAdmin itself and something that we probably can't detect. As you mentioned in the other thread, this can lead to problems when distributing, so we'll have to figure out some way to deal with this going forward before the release of 4.8.