Re: php-sqlite W2K install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marlin Unruh wrote:
Marlin Unruh wrote:
I am tiring to use sqlite which is [quote] bundled with php5 [unquote]. I am missing something somewhere. I modified the php.ini to include the php_extension=php_sqlite.dll. Following is the error I get.

[05-Dec-2005 07:40:33] PHP Fatal error: Call to undefined function sqlite_open() in G:\apache2\htdocs\sqlite.php on line 9

I am running  W2K professional, Apache 2.0.54, and PHP 5.1.0.

The CLI for version Sqlite version 3 is sqlite3, does that have anything to do with the function names I should be using in PHP?

Any ideas, or point me to a cheat sheet.

Sorry for the noise! I got it going.....

I was getting php_sqlite module not found error when apache loaded. Then I fixed the extension_dir setting. Next I got php_sqlite.dll could not load because php_pdo module not found. I needed to include all of the following dlls to get apache to load without complaint. I included the php_pdo_sqlite because I am using sqlite version 3 CLI. Now it is working.

edited to:
extension_dir = "x:\php5\ext"

added:
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll

HTH someone else.

--
Regards,
Marlin Unruh
Sunco Systems Inc.
(308) 326-4400

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux