InMotion Hosting Support Center

Fatal error: Class 'PDO' not found in...

2013-07-27 7:45 pm EST

Hits: 1,045
I'm trying to publish my website but am hitting problems with my database connectivity. I'm trying to open a sqlite database using the code

$this->link = new PDO('sqlite:'.$this->db_name);

This is throwing the error
Fatal error: Class 'PDO' not found in ... on line ...

I checked my php.ini and I have these lines in it

Struggling to see the problem?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


9,968 Points
2013-07-29 2:08 pm EST
Hello Allycw, and thank you for your question.

I see that it looks like you already submitted a support request for this same issue, and I see in that ticket that one of our support technicians was able to resolve your problems by adding a new php.ini file for you. I'm assuming that the syntax of your original one was off by a bit somewhere.

If you're still having any issues at all please let us know.

- Jacob

You must login before you can post a comment about this answer.

I did, apologies for my impatience, I submitted a ticket when I did not receive a reply here, but you guys swiftly resolved my problem through the support ticket system. Thanks as ever for the great service.
8 Points
2013-08-09 5:49 pm EST
Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!