码迷,mamicode.com
首页 >  
搜索关键字:fastcgi    ( 1211个结果
Nginx - upstream 模块及参数测试
目录 - 1. 前言- 2. 配置示例及指令说明 - 2.1 配置示例 - 2.2 指令 - 2.3 upstream相关变量- 3. 参数配置及测试 - 3.1 max_fails 和 fail_timeout - 3.2 proxy_next_upstream - 3.3 nginx 与后端we ...
分类:其他好文   时间:2019-03-14 22:30:34    阅读次数:272
Nginx的nginx.conf配置文件中文注释说明
#运行用户 user www-data; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; #工作模式及连接数上限 ev ...
分类:其他好文   时间:2019-03-12 10:42:51    阅读次数:194
CGI,FastCGI,PHP-FPM,PHP-CLI,modPHP
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
lnmp 环境require(): open_basedir restriction in effe
vi/usr/local/nginx/conf/fastcgi.conf修改内容(文件最下面)原内容:fastcgi_paramPHP_ADMIN_VALUE"open_basedir=$document_root/:/tmp/:/proc/";修改后fastcgi_paramPHP_ADMIN_VALUE"open_basedir=/mnt/hgfs:/tmp/:/proc/";
分类:其他好文   时间:2019-03-04 17:13:36    阅读次数:197
LAMP ----- 编译实现基于FASTCGI的LAMP的WordPress
1准备环境,两台主机:一台:httpd,php192.168.21.104安装包存放路径:/dataapr-1.6.5.tar.bz2httpd.apache.org#wgethttp://mirror.bit.edu.cn/apache//apr/apr-1.6.5.tar.bz2apr-util-1.6.1.tar.bz2httpd.apache.org#wgethttp://mirror.b
分类:其他好文   时间:2019-03-02 23:53:11    阅读次数:225
Fpm启动机制及流程分析———详细
FPM(FastCGI Process Manager)是PHP FastCGI运行模式的一个进程管理器,从它的定义可以看出,FPM的核心功能是进程管理,那么它用来管理什么进程呢?这个问题就需要从FastCGI说起了。 FastCGI是Web服务器(如:Nginx、Apache)和处理程序之间的一种 ...
分类:其他好文   时间:2019-03-01 09:28:44    阅读次数:443
nginx 和 php超时设置
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
PHP利用fastcgi_finish_request()函数实现异步操作,提高响应速度
某些操作,如用户注册后邮件发送,记录日志等一些耗时操作可以转化为异步操作!当PHP运行在FastCGI模式是提供了fastcgi_finish_request()函数,看下面例子: <?php echo '输出给客户端的内容'; fastcgi_finish_request(); sleep(3); ...
分类:Web程序   时间:2019-02-26 13:13:19    阅读次数:520
php Warning: require(): open_basedir restriction in effect File(/www/wwwroot/default/
解决方案如下: 一、找到修改fastcgi的配置文件 (/usr/local/nginx/conf/fastcgi.conf) 二、vi进行编辑(保存退出) 三、对虚拟主机配置进行重写在Nginx低版本中,是不支持PATHINFO的,但是可以通过在Nginx.conf中配置转发规则实 四、重新启动w ...
分类:Web程序   时间:2019-02-24 11:00:57    阅读次数:1407
Fastcgi工作原理
fastCGI是一个可伸缩的,高速地在HTTP server和动态脚本语言间的接口 ...
分类:其他好文   时间:2019-02-22 23:37:37    阅读次数:196
1211条   上一页 1 ... 14 15 16 17 18 ... 122 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!