相关疑难解决方法(0)

要启用扩展,请验证它们是否已在这些.ini文件中启用 - Vagrant/Ubuntu/Magento 2.0.2

通过composer安装Magento 2.0.2时出现此错误:

Problem 1
 - Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiable by magento/product-enterprise-edition[2.0.2].
 - magento/product-enterprise-edition 2.0.2 requires ext-gd * -> the requested PHP extension gd is missing from your system.

To enable extensions, verify that they are enabled in those .ini files:

- /etc/php5/cli/php.ini
- /etc/php5/cli/conf.d/05-opcache.ini
- /etc/php5/cli/conf.d/10-pdo.ini
- /etc/php5/cli/conf.d/20-curl.ini
- /etc/php5/cli/conf.d/20-imap.ini
- /etc/php5/cli/conf.d/20-json.ini
- /etc/php5/cli/conf.d/20-mcrypt.ini
- /etc/php5/cli/conf.d/20-pdo_pgsql.ini
- /etc/php5/cli/conf.d/20-pgsql.ini
- /etc/php5/cli/conf.d/20-pspell.ini
- /etc/php5/cli/conf.d/20-readline.ini

You can also run `php --ini` inside terminal to see which files are used by …
Run Code Online (Sandbox Code Playgroud)

php ubuntu composer-php magento2

28
推荐指数
10
解决办法
9万
查看次数

如何在Ubuntu上安装这些PHP扩展?

  • Ubuntu 16.04。
  • Nginx版本:Nginx / 1.10.0(Ubuntu)
  • PHP 7.0.8-0ubuntu0.16.04.3

当我composer install -v在Magento 2目录中运行时,得到以下信息:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Dependency resolution completed in 0.000 seconds
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
  Problem 2
    - The requested PHP extension ext-dom * is missing from your system. Install or …
Run Code Online (Sandbox Code Playgroud)

php ubuntu nginx

3
推荐指数
1
解决办法
1万
查看次数

Missing PHP extension when installing Laravel on Mac

I am trying to install laravel on mac using terminal, but I am getting this error. I have php version 7.3 and the latest version of composer. How do I download the php exstensions using terminal on Mac.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/installer v2.0.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - laravel/installer v2.0.1 requires ext-zip * -> the requested PHP extension …
Run Code Online (Sandbox Code Playgroud)

laravel composer-php

1
推荐指数
1
解决办法
5110
查看次数

标签 统计

composer-php ×2

php ×2

ubuntu ×2

laravel ×1

magento2 ×1

nginx ×1