#35345 [Com]: SQLite won't load (specified module not found)

From: Date: Thu, 24 May 2007 09:50:35 +0000
Subject: #35345 [Com]: SQLite won't load (specified module not found)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112989@lists.php.net to get a copy of this message
 ID:               35345
 Comment by:       scriper at mail dot ru
 Reported By:      csaba at alum dot mit dot edu
 Status:           No Feedback
 Bug Type:         PDO related
 Operating System: Win XP Pro
 PHP Version:      5CVS-2005-11-23 (snap)
 Assigned To:      wez
 New Comment:

Actually i have the same problem. I've have win xp sp2,php 5.2.2 and
apache 2.2.4. In my php.ini i've uncommented:
extension php_pdo.dll
extension php_pdo_mysql.dll
extension php_pdo_sqlite.dll
extension php_pdo_sqlite_external.dll
extension=php_sqlite.dll
I checked ext dir, it contains all of that. After restarting apache,
and give a request for example http://localhost/index.php i
get a
Warning:
PHP Startup: Unable to load dynamic library
'C:/php/ext/php_sqlite.dll'- The specified module could not be found.


Previous Comments:
------------------------------------------------------------------------

[2007-05-06 23:43:02] kunalspunjabi at yahoo dot com

I am seeing the following error when I add the following lines to my
php.ini file:
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll

I then restarted Apache and invoked PHP from the command line:

$ php
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_sqlite.dll' - The specified module could not be
found.
 in Unknown on line 0


My PHP extensions directory contains all these DLLs, apparently
php_sqlite.dll is the only one that does not load. Why?

------------------------------------------------------------------------

[2007-02-08 18:45:21] sazzad_10 at yahoo dot com

how to solve this problem?

Fatal error: Call to undefined function sqlite_open() in
c:\webs\test\testSqlite.php5 on line 13

what i did, In php.ini you must uncomment the line:
extension=php_sqlite.dll and above it, add the line:
extension=php_pdo.dll Then, restart apache and reload the page

But till now same masses Fatal error: Call to undefined function
sqlite_open() in c:\webs\test\testSqlite.php5 on line 13 can you help me
plc.

------------------------------------------------------------------------

[2006-07-05 04:14:27] keyvez at hotmail dot com

I am facing the same problem but in my case it says,
php_sqlite.dll could not be loaded... specified PROCEDURE could not be
found.

I have also tried to load php_sqlite.dll after loading all the pdo
extensions, i also tried loaded the php_pdo_sqlite.dll and without it
too.

Any help is appreciated.

Gaurav Misra

------------------------------------------------------------------------

[2005-12-01 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2005-11-23 14:56:15] smlerman at gmail dot com

I had the same problem. I had extension=php_pdo.dll (plus the drivers
for MySQL, Postgres, and SQLite) after the extensions list in
php.ini-dist. Moving those lines up above, so that they're before
extension=php_sqlite.dll, fixed the problem. Definitely something that
needs to be added to the installation docs for SQLite. It also might be
a good idea to add the PDO extensions to php.ini-dist. Since the PDO
extensions would be before the SQLite extension in alphabetical order
anyway, most people would never notice the dependency.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/35345

-- 
Edit this bug report at http://bugs.php.net/?id=35345&edit=1


Thread (14 messages)

« previous php.bugs (#112989) next »