diff --git a/src/applications/config/check/PhabricatorSetupCheckExtensions.php b/src/applications/config/check/PhabricatorSetupCheckExtensions.php index a536e2eb02..87f1bcd6dd 100644 --- a/src/applications/config/check/PhabricatorSetupCheckExtensions.php +++ b/src/applications/config/check/PhabricatorSetupCheckExtensions.php @@ -7,12 +7,10 @@ final class PhabricatorSetupCheckExtensions extends PhabricatorSetupCheck { } protected function executeChecks() { - // TODO: Require 'mysql' OR 'mysqli'. // TODO: Make 'mbstring' and 'iconv' soft requirements. // TODO: Make 'curl' a soft requirement. $required = array( - 'mysql', 'hash', 'json', 'openssl', @@ -32,6 +30,10 @@ final class PhabricatorSetupCheckExtensions extends PhabricatorSetupCheck { } } + if (!extension_loaded('mysqli') && !extension_loaded('mysql')) { + $need[] = 'mysqli or mysql'; + } + if (!$need) { return; }