現在、「LINE botを作ろう!(立花翔)」を参考に、LINE botの開発環境を準備中しています。しかし、Drop box とherokuが接続できないようになってしまったため、代わりにgit hub とherokuを接続し、LINE sdkのダウンロードまで進めたところ、下記の表示が出てしまいます。(、php.ini-productionをコピーしpnp.iniとリネームし、中のの;extension=openssl、;extension_dir="ext"の;をそれぞれ削除している状態でダウンロードを試みましたが、下記のとおりとなりました。)
【コマンドプロンプト】
C:\Users\yokaj\line-bot-sdk-php>composer require linecorp/line-bot-sdk
Using version ^3.13 for linecorp/line-bot-sdk
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for linecorp/line-bot-sdk ^3.13 -> satisfiable by linecorp/line-bot-sdk[3.13.0].
- linecorp/line-bot-sdk 3.13.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- C:\Users\yokaj\Desktop\php\php.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
Installation failed, deleting ./composer.json.
やはりphp.iniに問題があるようですが、そこでつまづいています。
sdkのダウンロードと、初歩でつまづきお恥ずかしいのですが、解決策をご教示いただけますと幸いです。

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/11 11:20
2019/08/11 12:13