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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.