Hi,
JonB wrote:PDO
PDO support enabled
PDO drivers mysql, sqlite
Same here. Exactly, as on your example.
JonB wrote:pdo_mysql
PDO Driver for MySQL enabled
Client API version mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
Exactly same here.
JonB wrote:pdo_sqlite
PDO Driver for SQLite 3.x enabled
SQLite Library 3.7.7.1
Same here. Same driver. All enabled.
Plus:
- Code: Select all
sqlite3
SQLite3 support enabled
SQLite3 module version 0.7
SQLite Library 3.7.7.1
Directive Local Value Master Value
sqlite3.extension_dir no value no value
I'm wondering, if exntesion_dir not set does not cause this problem?
JonB wrote:from 'my' php.ini
extension=php_pdo_sqlite.dll
that is the ONLY line I can find that references sqlite
I think that the fact, that you don't have
extension=php_sqlite3.dll line enable (or even added) to your php.ini comes the fact, that you don't have additional part
sqlite3 displayed in phpinfo(); I believe, the second extension is for procedural version of SQLite.
JonB wrote:Did you try to directly use a php.ini from a prior XAMPP install or a different configuration?
I've just checked, that my php.ini is 100% equal to the one that ships with XAMPP 1.8.0.
I have compared this ini file with the one that comes aboard my previous version (XAMPP 1.7.2 Lite) and found a strange differences around sqlite.
First of all, version 1.8.0 has only php_sqlite3.dll file. There is no php_sqlite.dll. This can be understood, as dropping support for old version of SQlite in new version of XAMPP. This is questionable decision itself, as there are enormously big changes in SQLite between version 2.1 and 3.0, which causes many developers to keep using version 2.1. But this is quite different problem, so let's not discuss it here.
What really surprised me, was founding that php_sqlite3.dll on board XAMPP 1.8.0 has size of 672 kB, while the very same file on board 1.7.2 has 1.21 MB. How should I understand this? I agree, that I didn't follow SQLite development, but I quite doubt that "developement" means degrading core library size by half!
I've tried to both add missing php_sqlite.dll extension and change php_sqlite3.dll 0,6 MB version with php_sqlite3.dll 1,2 MB version from XAMPP 1.7.2, but both operations failed with error saying, that there is no entry point of operation in php5ts.dll. So I reverted all my changes back to original state.
Even so, I'm still wondering, if missing SQL classes error does not comes from the fact that php_sqlite3.dll library on board newest XAMPP is somehow broken?
Another thing, a bit off-topic here is, how it is possible, that XAMPP 1.8.0
Full has only 10 MB of extensions for PHP, while XAMPP 1.7.2
Lite had 20 MB? Half less in full version than in lite?