Class PDO Not Found

Issue with cron jobs…see my errors below:



PHP Fatal error: Class PDO not found in /home/admin/public_html/cwmarketing.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 172



[SymfonyComponentDebugExceptionClassNotFoundException]

Attempted to load class "PDO" from the global namespace.

Did you forget a "use" statement?



mautic:campaigns:trigger [-i|–campaign-id [CAMPAIGN-ID]] [-l|–batch-limit [BATCH-LIMIT]] [-m|–max-events [MAX-EVENTS]] [-f|–force] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [-n|–no-interaction] [-s|–shell] [-e|–env ENV] <command>



I then ran these below.



yum install php-pdo

yum install php-pdo_mysql

service httpd restart



Also, my provider verified for me that all the PDO requirements are installed and enabled…any ideas why I would be still getting the error…any help or direction would be great…

Issue with cron jobs…see my errors below:

PHP Fatal error: Class PDO not found in /home/admin/public_html/cwmarketing.co/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 172

[SymfonyComponentDebugExceptionClassNotFoundException]
Attempted to load class "PDO" from the global namespace.
Did you forget a "use" statement?

mautic:campaigns:trigger [-i|–campaign-id [CAMPAIGN-ID]] [–scheduled-only] [–negative-only] [-l|–batch-limit [BATCH-LIMIT]] [-m|–max-events [MAX-EVENTS]] [-f|–force] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] <command>

I then ran these below.

yum install php-pdo
yum install php-pdo_mysql
service httpd restart

Also, my provider verified for me that all the PDO requirements are installed and enabled…any ideas why I would be still getting the error…any help or direction would be great…