<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>征程无限 &#187; php</title>
	<atom:link href="http://www.chengyongxu.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chengyongxu.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 03 Sep 2010 07:29:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://www.chengyongxu.com/blog/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>Nginx与php分离配置</title>
		<link>http://www.chengyongxu.com/blog/nginx%e4%b8%8ephp%e5%88%86%e7%a6%bb%e9%85%8d%e7%bd%ae/</link>
		<comments>http://www.chengyongxu.com/blog/nginx%e4%b8%8ephp%e5%88%86%e7%a6%bb%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Wed, 12 May 2010 03:30:26 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-fcgi]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=621</guid>
		<description><![CDATA[#################################### #Nginx与php分离配置 #Author:楚霏 #Date: 2010-5-12 #Update: 2010-5-12 #Env: Centos 5.4 x86_64 #################################### 一、准备工作 #################################### 环境：Centos 5.4 x86_64 WEBServer IP: 10.0.0.240 PHPServer1 IP: 10.0.0.241 PHPServer1 IP: 10.0.0.242 #################################### 二、思路 #################################### WEBServer： 1.只负责接收http请求并分发； 2.只安装nginx,不安装php； 3.只建/www/wwwroot目录，不存放php代码； 4.所有静态文件使用CDN。 PHPServer： 1.只负责处理php请求； 2.只安装php-fastcgi和mysql客户端； 3.建/www/wwwroot目录，最好从NFS文件服务器上挂载网站代码。 #################################### 三、配置 #################################### #WEBServer： #增加一行到nginx.conf #----------------------------引用文字-开始---------------------------- include upstream.conf; #----------------------------引用文字-结束---------------------------- #新加upstream配置文件 #vi /usr/local/nginx/conf/upstream.conf #----------------------------引用文字-开始---------------------------- upstream FastCGIServers { server [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nginx%e4%b8%8ephp%e5%88%86%e7%a6%bb%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gearman_Configuration</title>
		<link>http://www.chengyongxu.com/blog/gearman%e9%85%8d%e7%bd%ae/</link>
		<comments>http://www.chengyongxu.com/blog/gearman%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 07:24:03 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[集群技术]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Gearman]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-fcgi]]></category>
		<category><![CDATA[phpize]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=599</guid>
		<description><![CDATA[#################################### #Gearman_Configuration #Author:楚霏 #Date: 2010-4-21 #Update:2010-4-21 #Env: Centos 5.4 x86_64 #################################### 一、准备工作 #################################### 环境：Centos 5.4 x86_64 所需软件： gearmand gearman（php支持所需） #################################### cd /usr/local/src/ wget -c http://launchpad.net/gearmand/trunk/0.13/+download/gearmand-0.13.tar.gz wget -c http://pecl.php.net/get/gearman-0.7.0.tgz 二、安装配置 #################################### （1）安装服务端gearmand cd /usr/local/src/ tar xvf gearmand-0.13.tar.gz cd gearmand-0.13 yum install libevent-devel ./configure --prefix=/usr/local/gearmand make make install cp scripts/gearmand-init /etc/init.d/gearmand chmod 755 /etc/init.d/gearmand mkdir /usr/local/gearmand/var/ vi [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/gearman%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phpize简介</title>
		<link>http://www.chengyongxu.com/blog/phpize%e7%ae%80%e4%bb%8b/</link>
		<comments>http://www.chengyongxu.com/blog/phpize%e7%ae%80%e4%bb%8b/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:21:02 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpize]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=432</guid>
		<description><![CDATA[phpize 是属于 php-devel 中的东西，主要是设定 php 外挂模块的一些设定 例如你的php不支持mysql, mbstring,openssl等 实例应用: #环境php5.3.0, 不支持mysql扩展 #假如php的源码包在/usr/local/src/php-5.3.0 #php安装目录是/usr/local/php cd /usr/local/src/php-5.3.0/ext/mysql /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make make install #这个时候你会看到mysql.so被拷贝到某个目录, 把mysql.so拷贝到你的extension_dir指向的路径, 在php.ini里增加extension=mysql.so #重启web服务器, 看一下phpinfo, 或者/usr/local/php/bin/php -m,应该支持mysql了, 完毕! #注意: 在执行/usr/local/php/bin/phpize的时候可能会提示某些错误, 例如:Cannot find autoconf, 那就根据错误提示把相关的软件安装, RHEL系列使用yum -y install autoconf,Debian系的是apt-get install autoconf就可以了 #所以安装 php-devel 相关套件就会有 phpize 可以使用 (档案预设存放于 /usr/bin/phpize ) #phpize 命令是用来准备 PHP 外挂模块的编译环境的。下面例子中，外挂模块的源程序位于 extname 目录中： [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/phpize%e7%ae%80%e4%bb%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian+nginx+mediawiki的rewrite问题</title>
		<link>http://www.chengyongxu.com/blog/debiannginxmediawiki%e7%9a%84rewrite%e9%97%ae%e9%a2%98/</link>
		<comments>http://www.chengyongxu.com/blog/debiannginxmediawiki%e7%9a%84rewrite%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:13:51 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[网站架构]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[巴塞罗那]]></category>
		<category><![CDATA[阿贾克斯]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=429</guid>
		<description><![CDATA[环境是Debian+nginx0.7.61+php5.3.0+mysql5.1.37 一、保证mediawiki目录下的LocalSettings.php文件中没有对做url重写的相关没配置，也就是注释或删除下边这个参数 #----------------------------引用文字-开始---------------------------- #$wgArticlePath = "/$1"; #----------------------------引用文字-结束---------------------------- 二、在nginx的vhost.conf进行rewrite的配置 #----------------------------引用文字-开始---------------------------- location / { index index.html index.htm index.php; root /www/wwwroot/chengyongxu.cn; rewrite ^/wiki/index.php/([^?]*)(?:\?(.*))? /wiki/index.php?title=$1&$2; } #----------------------------引用文字-结束---------------------------- #上边只加了一条规则，这样就可以通过访问 http://chengyongxu.cn/wiki/index.php/阿贾克斯 来访问到 http://chengyongxu.cn/wiki/index.php?title=阿贾克斯 了 三、如果要做rewrite，一定要保证同类的链接的一致性 不能阿贾克斯的链接是： http://chengyongxu.cn/wiki/index.php/阿贾克斯 而类似的巴塞罗那的链接是： http://chengyongxu.cn/index.php/巴塞罗那]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/debiannginxmediawiki%e7%9a%84rewrite%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios搭建监控服务器</title>
		<link>http://www.chengyongxu.com/blog/nagios%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8/</link>
		<comments>http://www.chengyongxu.com/blog/nagios%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 05:39:22 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[服务器监控]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[FetionRobot]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[报警]]></category>
		<category><![CDATA[监控]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=254</guid>
		<description><![CDATA[#################################### #nagios_configuration #Author:楚霏 #Date: 2009-3-19 #Update:2009-8-11 #Env: Centos 5.3 x86_64 #感谢Sery兄的帮助 #################################### 一、准备工作 #################################### 环境：Centos 5.3 x86_64 所需软件： nagios-3.1.?.tar.gz nagios-plugins-1.4.13.tar.gz nrpe-2.12.tar.gz httpd-2.2.??.tar.gz gcc glibc glibc-common gd gd-devel fetion20080910047-lin64.tar.gz library64_linux.tar.gz libstdc++-4.3.0-8.x86_64.rpm #################################### #################################### #下载相关软件 cd /usr/local/src/ wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.1.2.tar.gz wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.13.tar.gz wget http://jaist.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz wget ftp://mirror.switch.ch/pool/2/mirror/fedora/linux/releases/9/Fedora/x86_64/os/Packages/libstdc++-4.3.0-8.x86_64.rpm wget http://www.it-adv.net/fetion/downng/fetion20090406003-linux.tar.gz wget http://www.it-adv.net/fetion/downng/library_linux.tar.gz #################################### 二、环境介绍 #################################### 两台机器全是Centos 5.3 x86_64 主监控机IP=10.0.0.52 被监控机IP=10.0.0.166 [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nagios%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS+memcached</title>
		<link>http://www.chengyongxu.com/blog/centosmemcached/</link>
		<comments>http://www.chengyongxu.com/blog/centosmemcached/#comments</comments>
		<pubDate>Fri, 15 May 2009 02:03:34 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=319</guid>
		<description><![CDATA[#################################### #CentOS+memcached #Author:楚霏 #Date: 2009-5-15 #Env: Centos 5.3 x86_64 #################################### 一、准备工作 环境：Centos 5.3 x86_64 所需软件： libevent memcached服务端与客户端 libmemcached #################################### 下载相关软件 cd /usr/local/src wget http://monkey.org/~provos/libevent-1.4.10-stable.tar.gz wget http://danga.com/memcached/dist/memcached-1.3.0.tar.gz wget http://pecl.php.net/get/memcached-0.1.5.tgz wget http://download.tangent.org/libmemcached-0.28.tar.gz #################################### 二、安装 （1）安装memcached的服务端支持库 cd /usr/local/src tar xvf libevent-1.4.10-stable.tar.gz cd libevent-1.4.10-stable ./configure --help ./configure make make install （2）安装memcached服务器端 cd /usr/local/src tar xvf memcached-1.3.0.tar.gz ./configure make make [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/centosmemcached/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx+mysql+php配置</title>
		<link>http://www.chengyongxu.com/blog/centos_nginx_mysql_php%e9%85%8d%e7%bd%ae/</link>
		<comments>http://www.chengyongxu.com/blog/centos_nginx_mysql_php%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 07:32:56 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=82</guid>
		<description><![CDATA[###################### # Nginx Configuration # Author: hao32 # Update: 楚霏 # Date: 2009-1-19 # Env: Centos 5.2 x86_64 ###################### 一. 分区完毕后, 关闭selinux等不必要的服务等等, 重启下系统: 相关文件: # selinux配置文件 /etc/selinux/config # 管理服务 chkconfig # 查看系统是否有报错等信息 dmesg 二. 配置加速yum cd /etc/yum.repos.d cp CentOS-Base.repo--  CentOS-Base.repo.bak vi CentOS-Base.repo #加入内容如下: #----------------------------引用文字-开始---------------------------- [base] name=CentOS-5 - Base baseurl=http://centos.ustc.edu.cn/centos/5/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #released updates [update] name=CentOS-5 [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/centos_nginx_mysql_php%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
