關於The requested PHP extension ext-pdo_sqlite * is missing from your system. Install or enable PHP's pdo_sqlite extension.的解決

來源:互聯網
上載者:User

標籤:hang   har   ssl   儲存   span   spel   problem   could not   depend   

$ php composer.phar installLoading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileWarning: The lock file is not up to date with the latest changes in composer.json. 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 PHP‘s 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 Clientextension=php_openssl.dll;extension=php_pdo_firebird.dllextension=php_pdo_mysql.dll;extension=php_pdo_oci.dll;extension=php_pdo_odbc.dllextension=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.的解決

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.