Jump to content

Fatal error: Class 'PDO' not found


Recommended Posts

I had a server that was root hacked so I did a fresh install on a new server with CentOS.  I had a script that was previous working on the "old" server.  Now when I try to run it I get this error...

 

Fatal error: Class 'PDO' not found

 

Info from the server...

# php -v

PHP 5.2.8 (cli) (built: Jun 18 2009 20:35:33)

Copyright © 1997-2008 The PHP Group

Zend Engine v2.2.0, Copyright © 1998-2008 Zend Technologies

 

I found this page here...

http://us2.php.net/manual/en/pdo.installation.php

 

Is it simply a matter of just copy/paste of the lines of code they have written there?  I'm not 100% familiar with this portion.

 

 

Link to comment
https://forums.phpfreaks.com/topic/163591-fatal-error-class-pdo-not-found/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.