標籤: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.的解決