You are here: Re: [PHP] php-sqlite W2K install problem « PHP « IT news, forums, messages
Re: [PHP] php-sqlite W2K install problem

Posted by Marlin Unruh on 12/05/05 20:12

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация