Getting this boot error
Flarum encountered a boot error (Error)
Class "PDO" not found
thrown in /home/USERNAME/domains/example.com/public_html/vendor/illuminate/database/Capsule/Manager.php on line 49
Error: Class "PDO" not found in /home/USERNAME/domains/example.com/public_html/vendor/illuminate/database/Capsule/Manager.php:49
Stack trace:
#0 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/database/Capsule/Manager.php(37): Illuminate\Database\Capsule\Manager->setupDefaultConfiguration()
#1 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(26): Illuminate\Database\Capsule\Manager->__construct()
#2 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(873): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}()
#3 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#4 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#5 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(38): Illuminate\Container\Container->make()
#6 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(873): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}()
#7 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#8 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#9 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(51): Illuminate\Container\Container->make()
#10 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(873): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}()
#11 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#12 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#13 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Settings/SettingsServiceProvider.php(37): Illuminate\Container\Container->make()
#14 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(873): Flarum\Settings\SettingsServiceProvider->Flarum\Settings\{closure}()
#15 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#16 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#17 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#18 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#19 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#20 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#21 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#22 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#23 /home/USERNAME/domains/example.com/public_html/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#24 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#25 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#26 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#27 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#28 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#29 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#30 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Http/Server.php(58): Flarum\Foundation\InstalledSite->bootApp()
#31 /home/USERNAME/domains/example.com/public_html/vendor/flarum/core/src/Http/Server.php(35): Flarum\Http\Server->safelyBootAndGetHandler()
#32 /home/USERNAME/domains/example.com/public_html/index.php(26): Flarum\Http\Server->listen()
#33 {main}