fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;#脚本文件请求的路径 fastcgi_param QUERY_STRING $query_string; #请求的参数;如?app=123 fastcgi_param R ...
分类:
其他好文 时间:
2021-01-18 10:38:12
阅读次数:
0
在处理导入导出大数据的情况下,一般要调整以下一些参数: 1.php.ini: set_time_limit(0); max_execution_time=1200; 这个是程序执行时间; 2.php-fpm.conf: request_terminate_timeout 1200; 3.nginx_ ...
分类:
其他好文 时间:
2020-05-24 09:16:00
阅读次数:
47
CGI:Common Gateway Interface 公共网关接口,web服务器和脚本语言通信的一个标准、接口、协议【协议】 FastCGI:CGI协议的升级版【协议】 PHP-CGI: 实现了CGI接口协议的PHP脚本解析器【程序】 PHP-FPM: 管理和调度php-cgi进程,进而实现了F ...
分类:
Web程序 时间:
2019-08-28 00:55:41
阅读次数:
138
在centos上成功编译安装nginx 1.4、php 5.4并成功启动nginx和php-fpm后,访问php提示"File not found.",同时在错误日志中看到: 在centos上成功编译安装nginx 1.4、php 5.4并成功启动nginx和php-fpm后,访问php提示"Fil ...
分类:
其他好文 时间:
2019-05-01 01:39:47
阅读次数:
163
Nginx处理php页面 用fpm-server 基于fastcgi模块实现 Ngx_http_proxy_module 只能反代后端http server的主机 Ngx_fastcgi_proxy_module 反代后端服务器为fastcgi的主机 Lnmp: nginx+php(fpm-serv ...
分类:
其他好文 时间:
2018-07-08 14:38:00
阅读次数:
154
案例1:部署LNMP环境案例2:构建LNMP平台案例3:地址重写1案例1:部署LNMP环境1.1问题安装部署Nginx、MariaDB、PHP环境安装部署Nginx、MariaDB、PHP、PHP-FPM;启动Nginx、MariaDB、FPM服务;并测试LNMP是否工作正常。1.2方案在RHEL7系统中,源码安装Nginx,使用RPM包安装MariaDB、PHP、PHP-FPM软件。操作过程中需
分类:
其他好文 时间:
2018-06-29 19:24:22
阅读次数:
196
server { listen 80; server_name www.demo.com mayifanx.com; root /data/www/demo; index index.php index.html index.htm; #红色部分支持rewrite location / { if (... ...
分类:
Web程序 时间:
2018-06-10 00:33:46
阅读次数:
237
请求:http://www.example.com/index.php1、首先请求到nginx的master主进程,master进程将请求转给worker进程处理。2、worker进程,根据请求,找到对应的serverserver{listen80;server_namewww.example.com;root/var/www/html;}3、worker进程根据请求,location规则过滤,判
分类:
其他好文 时间:
2018-04-08 14:38:34
阅读次数:
242
![](http://i2.51cto.com/images/blog/201801/31/7ea486ff85d1f8e3137708383e0cffda.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3po
分类:
其他好文 时间:
2018-01-31 20:18:20
阅读次数:
136
1案例1:部署LNMP环境1.1问题安装部署Nginx、MariaDB、PHP环境?安装部署Nginx、MariaDB、PHP、PHP-FPM;?启动Nginx、MariaDB、FPM服务;?并测试LNMP是否工作正常。1.2方案在RHEL7系统中,源码安装Nginx,使用RPM包安装MariaDB、PHP、PHP-FPM软件。操作过程中需要安装的软件列表如下:?nginx【源码】(web服务器,
分类:
其他好文 时间:
2018-01-31 20:14:04
阅读次数:
183