# Class PDO Not Found

**URL:** <https://forum.mautic.org/t/class-pdo-not-found/6587>\
**Category:** Product Support\
**Created:** [November 19, 2016, 4:56pm UTC](https://forum.mautic.org/t/class-pdo-not-found/6587 "2016-11-19T16:56:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuckwilliams10](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@chuckwilliams10](https://forum.mautic.org/u/chuckwilliams10)\
**Post date:** [November 19, 2016, 4:56pm UTC](https://forum.mautic.org/t/class-pdo-not-found/6587/1 "2016-11-19T16:56:06Z")

</div>

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 &quot;PDO&quot; from the global namespace.  
  
Did you forget a &quot;use&quot; 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] &lt;command&gt;  
  
  
  
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…

---

<div class="post-metadata">

**Author:** ![chuckwilliams10](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@chuckwilliams10](https://forum.mautic.org/u/chuckwilliams10)\
**Post date:** [November 19, 2016, 4:56pm UTC](https://forum.mautic.org/t/class-pdo-not-found/6587/2 "2016-11-19T16:56:06Z")

</div>

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 &quot;PDO&quot; from the global namespace.  
Did you forget a &quot;use&quot; 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] [–] &lt;command&gt;

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…
