PHP TP5框架 安装运行 Warning: require(E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/base.php): failed to
创建一个新的项目:进入项目的根目录执行 git 命令:
先执行
git clone -b 5.1 https://git.coding.net/liu21st/thinkphp5.git tp5
进入 tp5目录
cd tp5
再执行
git clone -b 5.1 https://git.coding.net/liu21st/framework.git thinkphp
执行更新框架命令
git pull
最后在浏览器运行看能不能正常运行
http://localhost/TP5/tp5/public/
根据官方文档安装过程遇到一个坑,
Warning: require(E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/base.php): failed to open stream: No such file or directory in E:\phpstudy_pro\WWW\TP5\tp5\public\index.php on line 16
Fatal error: require(): Failed opening required 'E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/base.php' (include_path='.;C:\php\pear') in E:\phpstudy_pro\WWW\TP5\tp5\public\index.php on line 16
是因为thinkphp文件夹没创建在tp5目录下面导致的。
完成
PHP TP5框架 安装运行 Warning: require(E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/base.php): failed to相关推荐
- 报错Warning: require(D:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php):
Warning: require(D:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php): composer dump-autoload com ...
- php warning require,Thinkphp 网站打开提示Warning: require(): open_basedir restriction in effect另一种解决方法...
Thinkphp网站打开报错如下: Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/123.com/ ...
- THINKPHP搭建报错Warning: require(): open_basedir restriction in effect.File() is not within the allowed
注意:当前只适用于LNMP环境 会提示 Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/wxsmal ...
- 怎么在php项目安装tp5框架,框架安装与基本配置
本节课,主要掌握了thinkphp5.1使用composer方式安装和基本配置 安装tp5.1步骤: 1.下载Composer-Setup.exe 安装Composer 2.Ctrl+R 输入cm ...
- php实现项目的日志记录功能,tp5框架使用composer实现日志记录功能示例
本文实例讲述了tp5框架使用composer实现日志记录功能.分享给大家供大家参考,具体如下: tp5实现日志记录 1.安装 psr/log composer require psr/log 它的作用 ...
- TP5.1安装swoole扩展
说明:本实例要在您已经安装好tp5.1的情况下进行,在cnetos7上进行运行: 我们这里使用的是tp5.1所以可以安装的最高的版本是swoole2.0:如果使用官方的"composer r ...
- Mac环境下Docker及Splash的安装运行教程
一.前言 由于最近使用Python爬虫框架scrapy练习爬虫,在爬取动态网页的时候,需要用到splash,进行对动态网页进行JavaScript渲染,但是使用splash又必须安装Docker.因为 ...
- linux :YOLO5配置(ubuntu 20.04 下安装运行yolov5)
ubuntu 20.04 下安装运行yolov5 新建文件夹,安装python 安装 python-pip: 克隆YOLOv5Git code 配置YOLO环境 安装yolov5: ubuntu 20 ...
- 实用必备xp框架模块_Xposed框架安装、使用以及插件开发
Xposed框架:是一款可以在不修改APK的情况下影响程序运行(修改系统)的框架服务,基于它可以制作出许多功能强大的模块,且在功能不冲突的情况下同时运作.对原生Launcher替换图标等应用或功能均基 ...
最新文章
- base64还原 java_base64字符串还原成原图片
- aspx页面在运行的时候会自动产生当前页面类的一个子类。
- 分布式事务常见解决方案-关于状态机
- Haproxy+多台MySQL从服务器(Slave) 实现负载均衡
- Apache+Tomcat集群负载均衡的两种session处理方式
- error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MTd_StaticDebug”...
- HttpClient 发送 HTTP、HTTPS 请求的简单封装
- 【jQuery】smartMenu右键自定义上下文菜单插件(似web QQ)
- python学习-1列表实现简单的购物车
- 创建带有实时在线数据备份的指纹考勤系统
- 粥左罗教你从零开始学写作笔记系列
- 一次从ZoomeyeAPI脚本编写到提权的***实践
- Css3中-moz、-ms、-webkit的使用
- 2022骨传导蓝牙耳机推荐,最好用的几款骨传导耳机
- 蓝桥杯--输出既是回文又是质数的数
- 2022年,有哪些小本生意可以做
- 请求路径上带有或出现jsessionid的处理办法
- 实习工作经历:代码在本地明明可以跑通,怎么放到服务器上就不行了呢?
- centOS7 防火墙设置
- 173:vue+openlayers:解决国内openstreetmap地图加载不出来的问题(代码示例)