ThinkCMF

一.安装nginx

官网下载地址:http://nginx.org/download/
安装步骤:

1.开启nginx服务
在这里插入图片描述
2.任务管理器里已经打开了nginx服务
在这里插入图片描述3.浏览器 127.0.0.1
在这里插入图片描述4.配置文件 nginx/conf/nginx.conf

在这里插入图片描述

二、phpstudy搭建

视频教程:https://chuanke.baidu.com/v4472461-233078-1808151.html
成功截图:

在这里插入图片描述
域名配置:https://blog.csdn.net/u012717614/article/details/51690075

错误集锦

致命错误: Class ‘app\portal\taglib\Portal’ not found

加粗样式解决方法:新建文件Portal.php,自定义标签库

在这里插入图片描述参考文章:https://newsn.net/say/thinkcmf-theme-taglib.html

phpstudy无法启动Apache

打开Apache文件夹里的httpd,显示报错信息
在这里插入图片描述解决方法:

1.网站端口都为 80!!!
在这里插入图片描述在这里插入图片描述2.httpd.conf
在这里插入图片描述3.vhosts.conf
在这里插入图片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章