![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
s听风忆雪
best QQ2276259727
展开
-
linux 系统安装php 8.0.2
linux 安装 php8.0.2原创 2024-03-26 17:16:43 · 591 阅读 · 0 评论 -
fatal error:require():Failed opening required
1. 检测一下是不是真的 不存在这个文件 即使100%确定 也建议你再仔细看一下 这个文件存不存在 今天我遇到的就是这里的坑。2. 关闭 open_basedir 或者把 当前项目根路径 写在 php.ini open_basedir 的参数里。这个错误经常遇到 大多是网站 是开启了 open_basedir。今天部署网站遇到了个错误。但今天这个错误很神奇。原创 2024-01-26 10:27:49 · 2722 阅读 · 0 评论 -
nginx配置HTTPS 访问PHP空白解决方案
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024...原创 2018-08-09 23:49:35 · 2240 阅读 · 0 评论 -
nginx在linux加入service
1. 建一个新文件vim /etc/init.d/nginx2. 然后把以下配置写进去 具体路径可以根据自己的环境更改#! /bin/bash# chkconfig: 35 85 15# description: Nginx is an HTTP(S) server, HTTP(S) reverseset -ePATH=/usr/local/sbin:/usr/local/...原创 2018-09-20 10:21:33 · 492 阅读 · 0 评论 -
解决tp5在linux服务器nginx环境404问题
1. 首先在nginx.conf里加上几行代码 location ~ \.php$ { root /var/www/website/public; fastcgi_pass 127.0.0.1:9000; fastcgi_index inde...原创 2018-09-20 15:40:53 · 4756 阅读 · 6 评论 -
lnmp分布式 部署
安装依赖包yum install gcc gcc-gcc+ automake pcre pcre-devel zlib zlib-decel openssl openssl-devel中途提示 输入 y 就Ok安装 nginx cd /usr/local/src #默认保存目录wget http://nginx.org/download/ngi...原创 2018-11-24 19:09:25 · 848 阅读 · 0 评论