Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8535793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:31:01+00:00 2026-06-11T10:31:01+00:00

My environment: PHP 5.4.7 Apache win7 DB is sqlite. I have already uncomment out

  • 0

My environment:
PHP 5.4.7
Apache
win7
DB is sqlite.
I have already uncomment out below script

extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite3.dll

But it still shows the Error info: Call to undefined function sqlite_open().

below is my php test code.
Anyone can help me?

<?php
phpinfo();
$db = sqlite_open('d:/testsqlite');
$rs = sqlite_query($db, 'select * from testtable');
print_r(sqlite_fetch_all($rs));
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:31:02+00:00Added an answer on June 11, 2026 at 10:31 am

    You only uncommented the extensions and it does not quarantee that it will work

    You can:
    Check if it’s properly loaded, by executing phpinfo() function or php -i on your CLI, if it’s not then check the server error logs (apache?) probably you will get more details, why extensions is not loaded.

    EDIT1:

    You have sqlite3 version you need to call sqlite class method statically like
    sqlite3::open()

    Here is query example.

    And you can always can use PDO extension.

    $db = new PDO('sqlite:mysqlitedb.db');
    

    Connecting to PDO

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows/Apache/PHP environment set up to imitate a shared hosting account but
i have a LAPP (linux, apache, postgresql and php) environment, but the question is
I am developing on PHP and APACHE on windows xampp environment. I have some
My problem: require_once '/includes/aws-sdk-1.5.2/sdk.class.php'; My environment: I have a pretty standard PHP site that
In my bootstrap.php I have the following: if($_SERVER['SERVER_NAME'] == 'localhost') Kohana::$environment = 'development'; else
I have the following environment. OS: Win 7 64 Bit WAMP Server 2.2 PHP:
I have developed a PHP script that uses $_REQUEST[] superglobal. A typical client request
My Environment: I'm using: OpenSuse 11.4 kernel 2.6.x.x; Apache 2.2; PHP 5.3; MySQL 5.5
How can I test performance of a PHP app using Apache Benchmark? My environment
My environment is Apache, DB is mySQL and language is PHP. What I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.