Re: [PHP] php sqlite

2011-11-06 Thread tamouse mailing lists
On Sat, Nov 5, 2011 at 3:33 AM, saeed ahmed mycomputerbo...@gmail.com wrote:
 i want to start with php sqlite.which  light weight versions should i
 download?i have win xp sp3.


I though sqlite came bundled...

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



Re: [PHP] php-sqlite W2K install problem

2005-12-05 Thread Marlin Unruh

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.

--
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



Re: [PHP] php-sqlite W2K install problem

2005-12-05 Thread Marlin Unruh

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