InMotion Hosting Support Center

Get Php extension for SQLite

Category: Databases

2012-09-18 2:34 pm EST

Hits: 973
I want to use the SQLite-Extension for PHP. I have un-commented the following lines in my php.ini file


That did not work so I also un-commented these

Still no luck. The code is looking for files in the php/ext folder. I see that folder is empty. Where can I load the necessary files from and which ones do I need.

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


43,761 Points
2012-09-18 2:52 pm EST
Hello Tom_c,

In looking at your php.ini file, you have the php extension directory set to php/ext under your own account, which has no extensions under it. The default server php extension setting is commented out, but that is where the extensions live. The default extension directory is "bin/ls -la /usr/local/lib/php/extensions/no-debug-non-zts-20060613".

Normally you would need to uncomment the server default extension directory setting in order to access the extensions, but our AHS Tier 2 tech went ahead and copied the extensions from the server to your php/ext directory. So now, it should work either way.

The AHS Tier 2 tech also gave you a default server php.ini for reference (named php.ini.server) so you can compare any other settings should the need arise.

Best Regards,
Scott M

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

Like this Question?

Support Center Login

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

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!