PHP + SQLite = tearing hairs..

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



Hello,

I've spend some days on googling, but as for now - without any effect.

----------
The configuration follows:
- Windows 7 64bit (build 7100)
- PHPInfo -> Apache/2.2.13 (Win32) PHP/5.3.0
         PDO drivers 	mysql, odbc, sqlite

       PDO Driver for SQLite 3.x	enabled
       SQLite Library 	3.6.15

SQLite3 support	enabled
SQLite3 module version 	0.7-dev
SQLite Library 	3.6.15

Directive Local Value Master Value sqlite3.extension_dir E:\Program Files (x86)\PHP\ext E:\Program Files (x86)\PHP\ext
---------------
php.ini has the following two lines:
[PHP_PDO_SQLITE]
extension=php_pdo_sqlite.dll
[PHP_SQLITE3]
extension=php_sqlite3.dll

both DLL's are in ext folder.
------
Everything works fine, till I wanted to embed database support. On sqlite_open() I get the infamous:
"Fatal error: Call to undefined function sqlite_open()"

(trying 1 argument and/or 3 arguments function call)

I start to wonder if it is compatible with 64bit system, but everything looks loaded and properly configured. Help..?
[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux