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
在這裏插入圖片描述

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