0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ext-curlが無いと怒られたときの対応

Posted at

何が起きたか

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
0
0
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?