[英]How to install PDO Sqlite on windows?
Does anyone know how can I install PDO SQLite extension on Windows? 有谁知道如何在Windows上安装PDO SQLite扩展?
I have PHP 5.3 compiled with the following config: 我使用以下配置编译了PHP 5.3:
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/ 由于某些原因,我的PHP未附带sqlite DLL,因此我从此处下载了归档文件: 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 然后将php_sqlite3.dll和php_pdo_sqlite.dll复制到我的PHP扩展目录中,并在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). 请注意,如果在Windows上使用它,则某些php_pdo_sqlite.dll
版本附带了msvcrt90.dll
(或其他版本)的依赖msvcrt90.dll
。 So the dependancy walker would show if it is installed quickly. 因此,依赖行者将显示它是否快速安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.