LoginSignup
0
0

More than 5 years have passed since last update.

XamppでComposerがエラーでInstallもUpdateもできなくなったけど直った

Posted at

Xampp使ってて、composerでパッケージの追加でupdateしようとしたら↓なエラーとかがでて

file could not be downloaded (HT
TP/1.1 404 Not Found)

 
composer diag とかやったら↓とかになったりして全然UPDate出来なかったんです。

file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed

そこで下記のリンク辺りを色々あたって、

cert.pemとかも差し替えましたがダメでした。

https://github.com/composer/composer/issues/2798

 

結果的にはカスペルスキー一時停止にしてしばらく待ったら
composer updateで無事Update完了しました。

結論:私の場合、セキュリティソフトのファイアーウォール。が原因だったようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0