Ubuntu 下 nginx , php , mysql 和 golang 的简单安装我是搞php出身,自然安装lnmp是常规技能。以前的手段还是lnmp安装包,比如军哥的lnmp1.0。随着php和mysql的更新,大多数一键安装都开始版本老化,更新困难的问题。因此,重新研究了一下Ubuntu下l...
分类:
数据库 时间:
2014-12-08 17:14:38
阅读次数:
375
http://www.cppblog.com/woaidongmao/archive/2011/06/21/149092.html一、FastCGI是什么? FastCGI是语言无关的、可伸缩架构的CGI开放扩展,其主要行为是将CGI解释器进程保持在内存中并因此获得较高的性能。众所周知,CGI解释....
分类:
其他好文 时间:
2014-12-08 17:06:54
阅读次数:
336
在Linux上搭建apache+fastcgi环境,说多了都是泪啊. 花费我几天时间,开源软件虽说好用,但是版本众多,文档缺乏,什么都只能自己摸索. 终于成功运行起来,特此记录.一. apache 安装 此处下载 apache-2.2.27 版本,常规的 configure make 命令,...
分类:
编程语言 时间:
2014-12-08 17:05:57
阅读次数:
234
.选定源码目录选定目录 /data/klj/ cd /data/klj/ 2.安装PCRE库cd /data/klj/wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gztar -zxvf pcre-8...
分类:
Web程序 时间:
2014-12-05 22:32:32
阅读次数:
273
linux下nginx+php+mysql环境搭建 ++++++++++++++++++++++++++++++++++++++++++++++ 操作系统 : [CentOS6.0] 服务器 : [nginx-1.1.8] PHP : [php-5.2.6] 数据库 ...
分类:
数据库 时间:
2014-12-05 17:18:30
阅读次数:
389
We can see this comment in nginx.conf.# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000Means: When the nginx handle PHP, the server...
分类:
Web程序 时间:
2014-12-04 17:19:37
阅读次数:
215
nginx+php出现502badgateway,一般这都不是nginx的问题,而是由于fastcgi或者php的问题导致的,常见的有以下几种。1.php.ini的memory_limit过小(如果有个别php程序进程需要占用极大内存时这个必须注意)2.php-fpm.conf中max_children或者max_requests设置不合理(设置过小会因..
分类:
Web程序 时间:
2014-12-04 15:57:30
阅读次数:
263
1、首先需要准备的应用程序包。 nginx:nginx/Windows-1.0.4 php:php-5.2.16-nts-Win32-VC6-x86.zip?(nginx下php是以FastCGI的方式运行,所以我们下载非线程安全也就是nts的php包) (还会用到)R...
做为一个前端灰常讨厌服务器配置但有时候还是很喜欢折腾下,牛逼人都是源码安装 菜鸟就学习下yum安装吧yum upgraderpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmr...
分类:
数据库 时间:
2014-11-28 15:59:51
阅读次数:
216
^_^是在WIN下开发。配置是nignxphpmysql默认时启动phpcgi是D:\php\php-cgi.exe-b127.0.0.1:9000-cD:\phpfind\phpa\php.ini先看NGINX配置location~\.php(.*)${
fastcgi_pass127.0.0.1:9000;
fastcgi_indexindex.php;
fastcgi_split_path_info^((?U).+\.php)(/?.+)$;
fastcgi_par..
分类:
Web程序 时间:
2014-11-28 12:41:05
阅读次数:
295