linux+nginx+php(fastcgi[spawn-fcgi])+mysql+phpmyadmin+wordpress简单配置__Ray
首先感谢的《Linux/Ubuntu 10.04 +Nginx + MySql + php(FastCGI) + Phpmyadmin + WordPress》帮助 。 本来想尝试使用php5-fpm来管理php-cgi的但是鼓闹了半天也没搞定,所以还是用spawn-fcgi吧。1、mysql和phpmyadmin sudoapt-get install mysql-server mysql-client sudoapt-get install ph... « 阅读全文
PHP FPM设置
php-fpm目前主要又两个分支,分别对应于php-5.2.x的版本和php-5.3.x的版本。在5.2.x的版本中,php-fpm.conf使用的是xml格式,而在新的5.3.x版本中,则是和php.ini一样的配置风格。 在5.2.x版本中,php-fpm.conf中对于进程管理号称是有两种风格,一种是静态(static)的,一种是类似于apache风格(apache-like)的。 Process manager settings <value name=”pm”> Set... « 阅读全文
[恶搞]PHP编译参数
Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print `checking...' messages --version print the version of autoconf that createdconfi... « 阅读全文
大话PHP性能(图)
1缘起关于PHP,很多人的直观感觉是PHP是一种灵活的脚本语言,库类丰富,使用简单,安全,非常适合WEB开发,但性能低下。PHP的性能是否真的就如同大家的感觉一样的差呢?本文就是围绕这么一个话题来进行探讨的。从源码、应用场景、基准性能、对比分析等几个方面深入分析PHP之性能问题,并通过真实的数据来说... « 阅读全文
nginx中php出现白屏解决方法
ngxin;php-fpm安装后,html静态页面没问题,但是phpinfo页面虽然返回200,但总是空白页也没有任何报错,考虑应该是nginx已经将php页面转移给php处理了,所以问题应该在php的配置上,经过查找,发现需要在nginx中加入一句话fastcgi_param SCRIPT_FILENAME$document_root$fastcgi_script_name;在nginx.conf中的 location ~ \.php$ { r... « 阅读全文
线上Ubuntu10.04LTS 下apt方式配置PHP+Nginx+Mysql环境
apt自带nginx最新稳定版 不需要单独构建php-fpm# cat /etc/issueUbuntu 10.04 LTS \n \l全新环境下#INSTALL NGINX0.8.54 stableapt-get updateapt-get install python-software-propertiesadd-apt-repository ppa:nginx/stableapt-get updateapt-get install nginx#INSTALL PHP5.3.2... « 阅读全文
CISCO IOS 12.4的新安全功能FPM
一个封PPLIVE的例子(转帖)一.用udp8000端口进行登陆这种登陆方式最简单的封堵方法就是用access-list,方式如下:access-list199denyudpanyanyeq8000intf0/0ipaccess-group199in但是,对这种方式我并不满意,因为除了pplive使... « 阅读全文
PHP5.3.3 PHP-FPM dynamic 模式
这个dynamic 模式支持比较爽,可以有效利用服务器资源,根据压力自动的增加php-fpm进程.我主要设置了pm的几个选项,供参考:view sourceprint?01;;;;;;;;;;;;;;;;;;;;;02; FPM Configuration ;03;;;;;;;;;;;;;;;;;;;;;04 05;;;;;;;;;;;;;;;;;;06; Global Options ;07;;;;;;;;;;;;;;;;;;08[global]09p... « 阅读全文
php编译参数详解
./configure \--prefix=/usr/local/php \--with-config-file-path=/usr/local/php/etc \--with-mysql=/usr/local/mysql \--with-mysqli=/usr/local/mysql/bin/mysql_config \--with-iconv-dir=/usr/local \--with-freetype-dir \--with-jpeg-dir \--with-png-dir \--wit... « 阅读全文
安装Nginx+PHP+Mysql 转
安装步骤:1,升级系统和安装相关的程序库yum -y install yum-fastestmirroryum -y updateyum -y install patch make gcc gcc-c++ gcc-g77 flex bisonyum -y install libtool libtool-libs kernel-devel autoconfyum -y install libjpeg libjpeg-devel libpng libpng-develyum -y in... « 阅读全文

