我的本地是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 项目
cp .env.example .env 拷贝.env 文件 php artisan key:generate 生成秘钥 php artisan migrate 生成数据表 composer ...
- 【简书】在阿里云自带的CentOS + LAMP环境下部署一个Laravel项目
在阿里云自带的CentOS + LAMP环境下部署一个Laravel项目 作者 DonnieZero 关注 2017.07.29 22:02* 字数 2218 阅读 5556评论 3喜欢 1赞赏 1 ...
- Laravel 从入门到精通 创建并运行一个新的 Laravel 项目
创建一个新的 Laravel 项目 正如官方文档所言,有两种方式可以创建一个新的 Laravel 项目,这两种创建方式都是从命令行执行的:第一种是通过全局的 Laravel 安装器,另一种是通过 Co ...
- 安装lnmp1.5,搬迁Laravel项目到服务器笔记
近期有个Laravel开发项目,需要搬到CentOS服务器做测试. 先说下项目的配置: Laravel版本5.5 --确定了php7.0以上: CentOS 7.0或以上. lnmp 1.5版 以下是 ...
- laravel项目拉取下来安装,node.js库安装
1.拉取项目 2.切换分支 圈圈里面是版本 composer 安装laravel组件其他库 安装node.js安装包 npm set registry=https://registry.npm.ta ...
- laravel项目thinksns-plus安装出现RuntimeException Symlink from * to * failed错误
今天xshell安装thinksns-plus的laravel项目时出现了一个错误, [RuntimeException] Symlink from "/root/www.z5w.net/t ...
- laravel项目安装与重要目录文件说明(一)
一.laravel创建项目的二种方式: 1.通过laravel安装器,进行创建 composer global require laravel/installer laravel new 项目名 co ...
- laravel项目composer安装
1.下载 Composer (https://pkg.phpcomposer.com/#how-to-install-composer) 安装前请务必确保已经正确安装了 PHP.打开命令行窗口并执行 ...
- laravel项目thinksns+安装pc前端页面
前面我们说了laravel项目ThinkSNS+安装,现在要安装给用户看的页面,方便他们进行一些操作,比如发表文字/提问之类,这个已经模块化了,用composer就可以完成.命令行代码如下(之前是co ...
随机推荐
- Python可视化数据------seaborn
可以看链接:https://blog.csdn.net/unixtch/article/details/78820654 1.import seaborn as sns 2.seaborn的主题风格( ...
- keepalived实现IP地址高可用
yum -y install keepalived vim /etc/keepalived/keepalived.conf global_defs { router_id LVS_DEVEL_ngin ...
- 【codeforces 716D】Complete The Graph
[题目链接]:http://codeforces.com/problemset/problem/716/D [题意] 给你一张图; 这张图上有一些边的权值未知; 让你确定这些权值(改成一个正整数) 使 ...
- 2015 Multi-University Training Contest 10 hdu 5407 CRB and Candies
CRB and Candies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)T ...
- hdu 2577 模拟
#include<stdio.h> #define N 200 char s[N]; int judgeup(char c) { if(c>='A'&&c<=' ...
- mysql数据库优化原则
一.一个例子 数据库需要处理的行数: 189444*1877*13482~~~479亿 如果在关联字段上加上合适的索引: 数据库需要处理的行数:368006*1*3*1~~~110万 MySQL通常是 ...
- 基础框架整合-ssm框架+前后台交互完整教程
1.基本概念 ssm:spring+springMVC+mybatis 2.开发环境 Eclipse mars + jdk1.7 + maven + tomcat7 3.使用maven构建web项目 ...
- Ajax jQuery下拉框联动案例
需求: 使用ajax和jQuery实现下拉框联动. 注意:需要加入jquery-2.1.1.min.js 前台 <!DOCTYPE html> <html> <head& ...
- yiii 数据库备份导出
应用场景 数据对于网站来说 是非常重要的 一般 cms 后台 都有 数据备份功能.使用Yii 的第三方拓展 可以快速开发. spanjeta/yii2-backup spanjeta/yii2-bac ...
- SQL从头開始
SQL 分为两个部分:数据操作语言 (DML) 和 数据定义语言 (DDL) 查询和更新指令构成了 SQL 的 DML 部分: SELECT - 从数据库表中获取数据 UPDATE - 更新数据库表中 ...