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

From: Date: Sun, 06 May 2007 23:43:03 +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-112328@lists.php.net to get a copy of this message
ID: 35345 Comment by: kunalspunjabi at yahoo dot com 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: 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? Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2005-11-23 10:54:25] wez@php.net For reasons discussed on the mailing list recently (see the threads on PHP 5.1 upgrade notes), ext/sqlite depends on the PDO extension, because it provides a sqlite2 PDO driver. You need to ensure that the PDO extension is loaded before the sqlite extension. ------------------------------------------------------------------------ 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

« previous php.bugs (#112328) next »