我的本地是7.0.1,而下载下来的原来是运行在7.0.8版本的,于是执行:composer install 时,报了一堆错。解决办法:删掉composer.lock,重新composer install
  Problem 1
    - Installation request for laravel/horizon v1.0.5 -> satisfiable by laravel/horizon[v1.0.5].
    - laravel/horizon v1.0.5 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
  Problem 2
    - Installation request for symfony/console v3.3.10 -> satisfiable by symfony/console[v3.3.10].
    - symfony/console v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 3
    - Installation request for symfony/css-selector v3.3.10 -> satisfiable by symfony/css-selector[v3.3.10].
    - symfony/css-selector v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 4
    - Installation request for symfony/debug v3.3.10 -> satisfiable by symfony/debug[v3.3.10].
    - symfony/debug v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 5
    - Installation request for symfony/event-dispatcher v3.3.10 -> satisfiable by symfony/event-dispatcher[v3.3.10].
    - symfony/event-dispatcher v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 6
    - Installation request for symfony/finder v3.3.10 -> satisfiable by symfony/finder[v3.3.10].
    - symfony/finder v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 7
    - Installation request for symfony/http-foundation v3.3.10 -> satisfiable by symfony/http-foundation[v3.3.10].
    - symfony/http-foundation v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 8
    - Installation request for symfony/http-kernel v3.3.10 -> satisfiable by symfony/http-kernel[v3.3.10].
    - symfony/http-kernel v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 9
    - Installation request for symfony/process v3.3.10 -> satisfiable by symfony/process[v3.3.10].
    - symfony/process v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 10
    - Installation request for symfony/routing v3.3.10 -> satisfiable by symfony/routing[v3.3.10].
    - symfony/routing v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 11
    - Installation request for symfony/translation v3.3.10 -> satisfiable by symfony/translation[v3.3.10].
    - symfony/translation v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 12
    - Installation request for symfony/var-dumper v3.3.10 -> satisfiable by symfony/var-dumper[v3.3.10].
    - symfony/var-dumper v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 13
    - Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0].
    - doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.1) does not satisfy that requirement.
  Problem 14
    - symfony/console v3.3.10 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.1) does not satisfy that requirement.
    - psy/psysh v0.8.13 requires symfony/console ~2.3.10|^2.4.2|~3.0 -> satisfiable by symfony/console[v3.3.10].
    - Installation request for psy/psysh v0.8.13 -> satisfiable by psy/psysh[v0.8.13].
  To enable extensions, verify that they are enabled in your .ini files:
    - D:\phpStudy\php70n\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

安装laravel项目出错的更多相关文章

  1. 使用命令安装laravel 项目

    cp .env.example .env   拷贝.env 文件 php artisan key:generate  生成秘钥 php artisan migrate   生成数据表 composer ...

  2. 【简书】在阿里云自带的CentOS + LAMP环境下部署一个Laravel项目

    在阿里云自带的CentOS + LAMP环境下部署一个Laravel项目 作者 DonnieZero 关注 2017.07.29 22:02* 字数 2218 阅读 5556评论 3喜欢 1赞赏 1 ...

  3. Laravel 从入门到精通 创建并运行一个新的 Laravel 项目

    创建一个新的 Laravel 项目 正如官方文档所言,有两种方式可以创建一个新的 Laravel 项目,这两种创建方式都是从命令行执行的:第一种是通过全局的 Laravel 安装器,另一种是通过 Co ...

  4. 安装lnmp1.5,搬迁Laravel项目到服务器笔记

    近期有个Laravel开发项目,需要搬到CentOS服务器做测试. 先说下项目的配置: Laravel版本5.5 --确定了php7.0以上: CentOS 7.0或以上. lnmp 1.5版 以下是 ...

  5. laravel项目拉取下来安装,node.js库安装

    1.拉取项目 2.切换分支 圈圈里面是版本 composer 安装laravel组件其他库 安装node.js安装包  npm set registry=https://registry.npm.ta ...

  6. laravel项目thinksns-plus安装出现RuntimeException Symlink from * to * failed错误

    今天xshell安装thinksns-plus的laravel项目时出现了一个错误, [RuntimeException] Symlink from "/root/www.z5w.net/t ...

  7. laravel项目安装与重要目录文件说明(一)

    一.laravel创建项目的二种方式: 1.通过laravel安装器,进行创建 composer global require laravel/installer laravel new 项目名 co ...

  8. laravel项目composer安装

    1.下载 Composer (https://pkg.phpcomposer.com/#how-to-install-composer) 安装前请务必确保已经正确安装了 PHP.打开命令行窗口并执行 ...

  9. laravel项目thinksns+安装pc前端页面

    前面我们说了laravel项目ThinkSNS+安装,现在要安装给用户看的页面,方便他们进行一些操作,比如发表文字/提问之类,这个已经模块化了,用composer就可以完成.命令行代码如下(之前是co ...

随机推荐

  1. Hadoop 技术笔记

    Flume与Kafka Flume 是一个分布式,可靠的,可用的服务,有效的收集,聚合和移动海量的日志数据.它有一个简单而灵活的架构,基于流数据流.具有很好的冗余和容错性,以及可靠性和多故障转移和恢复 ...

  2. Python编码显示中文乱码

    爬虫时出现问题: import requests data=requests.get('http://roll.news.sina.com.cn/')print(data.text) 输出结果中文显示 ...

  3. 【JavaScript框架封装】实现一个类似于JQuery的选择框架的封装

    // 选择框架 (function (xframe) { // 需要参与链式访问的(必须使用prototype的方式来给对象扩充方法) xframe.extend({}); // 不需要参与链式访问的 ...

  4. 无edu邮箱如何申请onedirve 5T账户

    如何申请onedirve 5T账户 要申请onedrive的教育版,一般是需要教育邮箱的.但如果没有教育邮箱,则需要找一些学校的漏洞来申请. 第一个方法是申请国外学校的校友邮箱,这就需要相应的校友信息 ...

  5. mybatis 批量导入数据到mysql返回批量Id

    1.首先mybatis版本必需是3.3.1或以上 2.mapper配置文件中 <insert id="insertOrderBatch" parameterType=&quo ...

  6. MVC基于Struts2的CRUD,java+bean+struts

    1,所需jar包,将jar包导入lib中 2,项目目录结构 3,struts.xml <?xml version="1.0" encoding="UTF-8&quo ...

  7. 【CodeForces 987C】Three displays

    [链接] 我是链接,点我呀:) [题意] [题解] 动态规划 设dp[i][j]表示前i个数字,选了j个的最小花费. dp[i][j] = min(dp[k][j-1]+b[i]);//其中a[i]& ...

  8. oracle(cast , to_char , to_date )用法

    cast : cast(要转换的值 AS 转换的类型) From To BINARY_FLOAT, BINARY_DOUBLE To CHAR, VARCHAR2 To NUMBER To DATET ...

  9. css 超出宽度出现省略号

    display: block; overflow: hidden; width: 260px; white-space: nowrap; text-overflow: ellipsis;

  10. Memcache Redis 与Mogodb优缺点

    MemcachedMemcached的优点: Memcached可以利用多核优势,单实例吞吐量极高,可以达到几十万QPS(取决于key.value的字节大小以及服务器硬件性能,日常环境中QPS高峰大约 ...