为什么我在laravel 5.3中更新Composer时出错?

时间:2016-10-17 12:59:40

标签: php laravel-5.3

problem 1
    - Installation request for laravel/framework v5.3.18 -> satisfiable by laravel/framework[v5.3.18].
    - laravel/framework v5.3.18 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
  Problem 2
    - Installation request for phpunit/phpunit 5.6.1 -> satisfiable by phpunit/phpunit[5.6.1].
    - phpunit/phpunit 5.6.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.

要启用扩展程序,请验证它们是否已在这些.ini文件中启用:      - /etc/php/7.0/cli/php.ini      - /etc/php/7.0/cli/conf.d/10-opcache.ini      - /etc/php/7.0/cli/conf.d/10-pdo.ini      - /etc/php/7.0/cli/conf.d/15-xml.ini      - /etc/php/7.0/cli/conf.d/20-calendar.ini

1 个答案:

答案 0 :(得分:2)

您的php没有安装mbstring

如果您可以访问服务器,并且它是Linux服务器,则可以使用

进行安装

sudo apt-get install php-mbstring

希望我能提供帮助。