mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-10 09:02:42 +00:00
Add support for sodium on PHP 5.6, 7.0 and 7.1 (#562)
This commit is contained in:
parent
3714ceb51a
commit
a73248ed6f
4 changed files with 35 additions and 0 deletions
|
@ -7,6 +7,11 @@ $nameMap = [
|
|||
'apcu_bc' => 'apc',
|
||||
'ioncube_loader' => 'ionCube Loader',
|
||||
];
|
||||
if (PHP_VERSION_ID < 70000) {
|
||||
$nameMap['sodium'] = 'libsodium';
|
||||
} else {
|
||||
$nameMap['libsodium'] = 'sodium';
|
||||
}
|
||||
$testsDir = __DIR__ . '/tests';
|
||||
function runTest($testFile)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue