Re: php-sqlite W2K install problem

From: Date: Mon, 05 Dec 2005 18:12:50 +0000
Subject: Re: php-sqlite W2K install problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226889@lists.php.net to get a copy of this message
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

« previous php.general (#226889) next »