Does anyone know how can I install PDO SQLite extension on Windows?
I have PHP 5.3 compiled with the following config:
Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze"
For some reason my PHP was not shipped with sqlite DLLs so I downloaded archieve from here: http://windows.php.net/downloads/releases/archives/
Then copied php_sqlite3.dll and php_pdo_sqlite.dll to my PHP extensions dir and enabled it in php.ini
Be aware that if you use it on Windows that some php_pdo_sqlite.dll
versions come with a dependancy on msvcrt90.dll
(or other versions). So the dependancy walker would show if it is installed quickly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.