[PDOException] - Running SendRecurringInvoices

Hello,

I am running into the following error when attempting to run the reoccurring invoice cron job from the command line to test. I am on version 3.6.0 Self Hosted.

/var/www/ninja/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php [Line 55] => could not find driver

[2017-11-10 01:33:51] production.ERROR: PDOException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php [Line 55] => could not find driver {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“url”:“https://example.com”,“previous”:“https://example.com”,“user_agent”:"",“ip”:“127.0.0.1”,“count”:1,“is_console”:“yes”,“is_api”:“no”,“db_server”:“mysql”} []

Thanks!

Apologies, should have looked harder appears that I was missing the php-mysql extension.
Source:
https://stackoverflow.com/questions/26156125/php-artisan-migrate-pdoexception-could-not-find-driver?rq=1

I am now seeing the following error:
production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError [0] : /var/www/ninja/app/Libraries/CurlUtils.php [Line 21] => Call to undefined function App\Libraries\curl_init()

The above as resolved by installing php-curl source:
https://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init

Thanks, successfully sent!