使用nginx服务器如果遇到timeou情况时可以如下设置参数,使用fastcgi: fastcgi_connect_timeout 75; 链接 fastcgi_read_timeout 600; 读取 fastcgi_send_timeout 600; 发请求 这两个选项. fastcgi_re ...
分类:
其他好文 时间:
2019-05-09 11:01:19
阅读次数:
142
第一步,一键安装所需程序 yum install -y nginx php php-mysql php-fpm mariadb-server 第二步,修改Nginx配置文件/etc/nginx/nginx.conf 重启Nginx和php-fpm systemctl restart nginx (注 ...
分类:
Web程序 时间:
2019-05-07 21:18:03
阅读次数:
158
环境安装安装nginxgitfcgiwrapnginx配置如下server{listen8800default_server;root/home/git;indexindex.htmlindex.htmindex.nginx-debian.html;server_name_;location~/git(/.*){#try_files$uri$uri/=404;#autoindexon;fastcg
分类:
Web程序 时间:
2019-05-07 18:14:10
阅读次数:
263
https://www.cnblogs.com/kevingrace/p/8471827.html 一、分布式文件系统介绍分布式文件系统:Distributed file system, DFS,又叫做网络文件系统:Network File System。一种允许文件通过网络在多台主机上分享的文件系 ...
分类:
系统相关 时间:
2019-05-03 11:18:31
阅读次数:
193
在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
转自:http://doc3.workerman.net/appendices/install-extension.html 安装扩展 注意 与Apache+PHP或者Nginx+PHP的运行模式不同,WorkerMan是基于PHP命令行 PHP CLI 运行的,使用的是不同的PHP可执行程序,使用 ...
分类:
Web程序 时间:
2019-04-29 21:01:55
阅读次数:
180
首先你需要准备三台机器 负载均衡服务器 * 1,应用服务器 * 2; 负载均衡服务器需要安装nginx , 应用服务器安装nginx,php,mysql.etc nginx 配置文件 upstream backend { server 10.139.88.217; //应用服务器IP1 server ...
分类:
其他好文 时间:
2019-04-27 13:28:11
阅读次数:
179
1.php最常见的五种运行模式。 CGI 通用网关接口 FastCGI 常驻内存的CGI CLI 命令行 Web模块 Apache等Web服务器 模块的形式加载php进程 ISAPI 已经不用了 ...
分类:
Web程序 时间:
2019-04-27 10:08:56
阅读次数:
140
![](https://s1.51cto.com/images/blog/201904/23/71c1b186bfb3e2c0760f4e3787ea341a.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
分类:
Web程序 时间:
2019-04-23 22:30:52
阅读次数:
223
首先yum install docker 安装docker service docker start 启动docker docker pull docker.io/skiychan/nginx-php 下载这个镜像 docker images 查看镜像 然后创建容器 docker run --nam ...
分类:
其他好文 时间:
2019-04-23 12:43:05
阅读次数:
379