This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
[BUG] Hidden requirement - mysqli extension ? #67
Labels
From directus created by lk77 : directus/directus#2182
Version Info
Hello,
when trying to install directus on docker, via cli or web
I have an exception indicating that mysqli is missing,
but requirements are:
so i don't understand why, mysqli should not be used.
Stack Trace :
# php bin/directus install:database Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/vendor/directus/migrations/lib/Ruckusing/Adapter/MySQL/MySQLBase.php:1296 Stack trace: #0 /var/www/html/vendor/directus/migrations/lib/Ruckusing/Adapter/MySQL/MySQLBase.php(1270): Ruckusing\Adapter\MySQL\MySQLBase->db_connect(Array) #1 /var/www/html/vendor/directus/migrations/lib/Ruckusing/Adapter/MySQL/MySQLBase.php(81): Ruckusing\Adapter\MySQL\MySQLBase->connect(Array) #2 /var/www/html/vendor/directus/migrations/lib/Ruckusing/FrameworkAbstract.php(233): Ruckusing\Adapter\MySQL\MySQLBase->__construct(Array, Object(Ruckusing\Util\Logger), Array) #3 /var/www/html/vendor/directus/migrations/lib/Ruckusing/FrameworkAbstract.php(121): Ruckusing\FrameworkAbstract->initialize_db() #4 /var/www/html/api/core/Directus/Util/Installation/InstallerUtils.php(135): Ruckusing\FrameworkAbstract->__construct(Array) #5 /var/www/html/api/core/Directus/Console/Modules/InstallModule.php(148): Directus\Util\Installation\InstallerUtils::createTables('/var/www/html') #6 /var/w in /var/www/html/vendor/directus/migrations/lib/Ruckusing/Adapter/MySQL/MySQLBase.php on line 1296
i've installed mysqli as a workaround, but it seems odd to me.
thanks.
The text was updated successfully, but these errors were encountered: