何が起きたか
composer install
で怒られた
$ composer 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.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
- Installation request for paypal/merchant-sdk-php v3.9.1 -> satisfiable by paypal/merchant-sdk-php[v3.9.1].
- paypal/merchant-sdk-php v3.9.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 2
- Installation request for paypal/sdk-core-php 3.3.2 -> satisfiable by paypal/sdk-core-php[3.3.2].
- paypal/sdk-core-php 3.3.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 3
- Installation request for pusher/pusher-php-server 2.6.4 -> satisfiable by pusher/pusher-php-server[2.6.4].
- pusher/pusher-php-server 2.6.4 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:
- /home/ubuntu/.phpbrew/php/php-7.0.23/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
環境
Ubuntu 14.01 LTS on Cloud9
PHP7 on phpbrew
やったこと
$ sudo apt-get install libcurl4-openssl-dev
$ phpbrew ext install curl