我正在使用laravel 5.3进行我的项目.现在我正在把它安装到服务器上.

The problem occured when doing so.And i am stuck at this point of error.

当我跑的时候

composer安装--无开发人员

出现以下命令错误:

 Problem 1
    - Installation request for fgrosse/phpasn1 1.5.2 -> satisfiable by fgrosse/phpasn1[1.5.2].
    - fgrosse/phpasn1 1.5.2 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.
  Problem 2
    - Installation request for mdanter/ecc v0.4.2 -> satisfiable by mdanter/ecc[v0.4.2].
    - mdanter/ecc v0.4.2 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.
  Problem 3
    - Installation request for pusher/pusher-php-server 2.6.3 -> satisfiable by pusher/pusher-php-server[2.6.3].
    - pusher/pusher-php-server 2.6.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 4
    - pusher/pusher-php-server 2.6.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - laravel-notification-channels/pusher-push-notifications 1.0.2 requires pusher/pusher-php-server 2.6.* -> satisfiable by pusher/pusher-php-server[2.6.3].
    - Installation request for laravel-notification-channels/pusher-push-notifications 1.0.2 -> satisfiable by laravel-notification-channels/pusher-push-notifications[1.0.2].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/7.0/cli/php.ini
    - /etc/php/7.0/cli/conf.d/10-mysqlnd.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/20-calendar.ini
    - /etc/php/7.0/cli/conf.d/20-ctype.ini
    - /etc/php/7.0/cli/conf.d/20-exif.ini
    - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.0/cli/conf.d/20-ftp.ini
    - /etc/php/7.0/cli/conf.d/20-gettext.ini
    - /etc/php/7.0/cli/conf.d/20-iconv.ini
    - /etc/php/7.0/cli/conf.d/20-json.ini
    - /etc/php/7.0/cli/conf.d/20-mbstring.ini
    - /etc/php/7.0/cli/conf.d/20-mysqli.ini
    - /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
    - /etc/php/7.0/cli/conf.d/20-phar.ini
    - /etc/php/7.0/cli/conf.d/20-posix.ini
    - /etc/php/7.0/cli/conf.d/20-readline.ini
    - /etc/php/7.0/cli/conf.d/20-shmop.ini
    - /etc/php/7.0/cli/conf.d/20-sockets.ini
    - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
    - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
    - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
    - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

`

推荐答案

您的PHP需要一些EXT来运行包.

You can install that with apt-get if you use Ubuntu and PHP 5 :

apt-get install php5-gmp 
apt-get install php5-curl

If you use PHP 7:

apt-get install php7.0-gmp 
apt-get install php-curl

and etc...

在此之后,重新启动您的Web服务,然后它就可以工作了.

Laravel相关问答推荐

如何解决此 Backblaze B2 S3 兼容 API 错误?

如何在数据来自Rest API的flutter中创建下拉类别名称列表?

Laravel:BelongstoMany 关系实现

如何通过 Controller 访问 Laravel 中 Model 的值?

Laravel Valet 安装后 Ping test.dev 返回未知主机

FileViewFinder.php 第 137 行中的 Laravel 5 InvalidArgumentException:未找到视图 [.admin]

Laravel API 版本控制文件夹 struct

覆盖 HTTP 标头的默认设置 (X-FRAME-OPTIONS)

使用 Laravel 限制多态多对多关系中的相关记录

静态密码在默认的 Laravel 用户工厂中是如何工作的?

在表单中添加一对多 - Backpack laravel

如何仅从 laravel FormRequest 中获取经过验证的数据?

Homebrew PHP 似乎没有链接

Laravel 更新语法 - 使用数组更新记录

Elastic search全文与mysql全文?

Laravel 检测手机/平板电脑并加载正确的视图

Laravel 5.4 Vue.JS 无法挂载组件:未定义模板或渲染函数

Laravel php artisan 产生错误

Laravel 如何在 Eloquent 模型中添加自定义函数?

Laravel:Redis 无法建立连接:[tcp://127.0.0.1:6379]