Get Php extension for SQLite

Category: Databases

Tom_c
Asked:
2012-09-18 2:34 pm EST

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

extension=php_pdo.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll

That did not work so I also un-commented these
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so

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

0

Scott
Staff
15,308 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?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200934

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!