LAMP架构本章内容LAMP介绍PHP配置实现LAMP应用phpMyadmin实现LAMP应用博客系统wordpressXcache加速PHP-FPM模式源码编译LAMP编译安装FPM模式的LAMP==LAMP介绍==LAM(M)P:L:linuxA:apache(httpd)M:mysql,mariadbM:memcachedP:php,perl,pythonWEB资源类型:静态资源:原始形式与
分类:
其他好文 时间:
2019-03-24 21:44:50
阅读次数:
175
下载Nginx包下载地址:http://nginx.org/download/下载后解压nginx到/usr/local/后,执行编译,编译时需要预先加模块;通过Nginx支持PHP编程本人通过yum源安装php-fpm配置Nginx.conf文件worker_processes1;events{worker_connections1024;}http{includemime.types;defa
分类:
其他好文 时间:
2019-03-20 23:29:49
阅读次数:
266
一,下载源码 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
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
1、问题描述编译安装php7时指定了--with-config-file-path=/usr/local/php7/etc,修改了php.ini的配置后重启,但就是不生效。2、问题排查创建phpinfo()vim/usr/local/nginx/html/info.php<?phpphpinfo();?>访问info.php,发现LoadedConfigurationFile为空。编译
分类:
Web程序 时间:
2019-02-26 17:34:05
阅读次数:
201
/etc/sysctl.conf net.core.netdev_max_backlog = 1048576 # 默认为1000net.ipv4.tcp_max_syn_backlog = 1048576 # 默认为1024 nginx:数量是cpu核数的2倍性能最优nginx.conf worke ...
分类:
其他好文 时间:
2019-02-21 15:55:02
阅读次数:
148