一.安装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