码迷,mamicode.com
首页 > 数据库 > 详细

关于The requested PHP extension ext-pdo_sqlite * is missing from your system. Install or enable PHP's pdo_sqlite extension.的解决

时间:2016-10-25 02:25:16      阅读:465      评论:0      收藏:0      [点我收藏+]

标签:hang   har   ssl   保存   span   spel   problem   could not   depend   

$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.jso
n. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-pdo_sqlite * is missing from your system.
Install or enable PHPs pdo_sqlite extension.

今天在github上下载了一个Symfony的demo,解决报错,各种查找,最终还是找到了php.ini这个文件(文件在你的 php安装目录下面:我的C:\php5\php-5.5.30-nts-Win32-VC11-x64,)

 

打开文件找到以下代码:(解决办法就是我写的去掉分号!!!!!!!!!!)

 

.....
;extension
=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client extension=php_openssl.dll ;extension=php_pdo_firebird.dll extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll ;extension=php_pdo_odbc.dll extension=ext\php_pdo_pgsql.dll  (2:我顺便把这里的";"分号去掉了) extension=php_pdo_sqlite.dll     (1:我把这里的";"分号去掉了) ;extension=php_pgsql.dll ;extension=php_pspell.dll ;extension=php_shmop.dll

......

然后保存就ok了,你可以找到etx目录下,那里面全是关于数据库的脚本;

我现在觉得使用哪个,就把哪个前面的分号去掉,但不知道是不是这样子,至少没有抱错!

参考Stack overflow百度经验

 

关于The requested PHP extension ext-pdo_sqlite * is missing from your system. Install or enable PHP's pdo_sqlite extension.的解决

标签:hang   har   ssl   保存   span   spel   problem   could not   depend   

原文地址:http://www.cnblogs.com/Amos-Turing/p/5995073.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!