1.yum -y install rpm-build 2.rpmbuild -ba xx.spec 3.cp source_package /root/rpmbuild/SOURCES/ 4.vim /root/rpmbuild/SPECS/nginx.spec 5.rpmbuild -ba /ro ...
分类:
其他好文 时间:
2019-03-19 21:34:56
阅读次数:
188
由于支付宝SDK只支持php7.1,因为需要删除之前安装的7.2版,进行降级。通过yum remove不能完全删除php,必须通过rpm方式卸载。由于php安装模块间有依赖,因此需要按顺序进行卸载。如下: Java代码 rpm -e php72w-fpm-7.2.13-1.w7.x86_64 rpm ...
分类:
Web程序 时间:
2019-03-19 12:31:14
阅读次数:
562
使用fpm制作rpm包 安装如下 [root@web01 ~]# yum install -y gcc zlib zlib-devel wget http://ruby.taobao.org/mirrors/ruby/ruby-1.8.7-p358.tar.gz wget http://files.... ...
分类:
其他好文 时间:
2019-03-19 12:09:26
阅读次数:
164
一,下载源码 http://www.wecenter.com/downloads/ 二,编写nginx 配置文件 三,上传源码到站点目录 四,解压 五,数据库创建用户密码 六,打开网页进行测试 发现目录权限都显示红叉 1,将php-fpm下的www.conf 文件中内容 属主属组改成nginx 2, ...
分类:
其他好文 时间:
2019-03-18 15:18:58
阅读次数:
215
1. 找到php的安装位置。如: 2. 进入安装目录下的etc/php-fpm.d目录,然后你会看到: 3. 打开www.conf,搜索listen关键字,你会发现画红圈圈的就是php-fpm监听的端口。 ...
分类:
Web程序 时间:
2019-03-17 20:07:23
阅读次数:
365
This might give you a broader understanding of their difference: CGI: (common gateway interface) It is a specification "protocol" for transferring inf ...
分类:
Web程序 时间:
2019-03-10 20:47:43
阅读次数:
233
https://blog.csdn.net/gao_yu_long/article/details/79390510 补充一点: 如果php-cgi -b 127.0.0.1:6999,则6999端口就会是cgi nginx就可以 通过网页访问时,就可以使用cgi了 ...
分类:
Web程序 时间:
2019-03-05 18:24:18
阅读次数:
210
FPM(FastCGI Process Manager)是PHP FastCGI运行模式的一个进程管理器,从它的定义可以看出,FPM的核心功能是进程管理,那么它用来管理什么进程呢?这个问题就需要从FastCGI说起了。 FastCGI是Web服务器(如:Nginx、Apache)和处理程序之间的一种 ...
分类:
其他好文 时间:
2019-03-01 09:28:44
阅读次数:
443
nginx.conf http节:keepalive_timeout 600; #客户端浏览器超时时间fastcgi_connect_timeout 600; #php-fpm连接超时时间(等待php执行的最长时间,超过这个会向浏览器返回504或502)fastcgi_send_timeout 60 ...
分类:
Web程序 时间:
2019-02-28 10:21:15
阅读次数:
221
获取 nginx 镜像 docker search nginx docker pull nginx 使用nginx镜像开启 nginx 应用容器 docker run -d --name nginx -p 8080:80 -v /tmp:/usr/share/nginx/html docker.io ...
分类:
Web程序 时间:
2019-02-27 01:37:44
阅读次数:
508