<?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>浮山狼de博客 &#187; webserver</title>
	<atom:link href="https://www.fushanlang.com/tag/webserver/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fushanlang.com</link>
	<description>next station - 下一站，活在当下，且行且思</description>
	<lastBuildDate>Sat, 29 Nov 2014 15:14:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.5</generator>
	<item>
		<title>fastcgi mod_fcgid: HTTP request length</title>
		<link>https://www.fushanlang.com/fastcgi-mod_fcgid-http-request-length-1895/</link>
		<comments>https://www.fushanlang.com/fastcgi-mod_fcgid-http-request-length-1895/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 07:39:50 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fastcgi]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1895</guid>
		<description><![CDATA[<p>最近在win2003 apache+php+fastcgi+mysql  开发环境下，使用wordpress上传图片时，遇到稍大的图片总是会遇到“HTTP error”，但是检查过php.ini发现文件大小限制post_max_size设置的没有问题，查看apache的logs 日志记录才显示了问题所在：</p> <p>“mod_fcgid: HTTP request length 135567 (so far) exceeds MaxRequestLen (131072)”</p> <p>原来是fastcgi模式下的设置问题，需要在配置文件.htaccess或者直接在apache的配置文件http.conf 中指明，如下：</p> <p>&#60;IfModule mod_fcgid.c&#62;   AddHandler    fcgid-script .fcgi   FcgidConnectTimeout  20   # to get around upload errors when uploading images increase the MaxRequestLen size to 15MB   MaxRequestLen  15728640 &#60;/IfModule&#62;</p> <p>里面的“MaxRequestLen”就是fastcgi模式下上传文件也就是http接受的最大文件长度。</p> ]]></description>
				<content:encoded><![CDATA[<p>最近在win2003 apache+php+fastcgi+mysql  开发环境下，使用wordpress上传图片时，遇到稍大的图片总是会遇到“<strong>HTTP error”，</strong>但是检查过php.ini发现文件大小限制post_max_size设置的没有问题，查看apache的logs 日志记录才显示了问题所在：</p>
<p>“<strong>mod_fcgid: HTTP request length 135567 (so far) exceeds MaxRequestLen (131072)”</strong></p>
<p>原来是fastcgi模式下的设置问题，需要在配置文件.htaccess或者直接在apache的配置文件http.conf 中指明，如下：</p>
<p>&lt;IfModule mod_fcgid.c&gt;<br />
  AddHandler    fcgid-script .fcgi<br />
  FcgidConnectTimeout  20<br />
  # to get around upload errors when uploading images increase the MaxRequestLen size to 15MB<br />
  MaxRequestLen  15728640<br />
&lt;/IfModule&gt;</p>
<p>里面的“<strong>MaxRequestLen”</strong>就是fastcgi模式下上传文件也就是http接受的最大文件长度。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/fastcgi-mod_fcgid-http-request-length-1895/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win2003 apache2.2.17 php5.3配置</title>
		<link>https://www.fushanlang.com/win2003-apache2-2-17-php5-3-configuration-1847/</link>
		<comments>https://www.fushanlang.com/win2003-apache2-2-17-php5-3-configuration-1847/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 03:17:56 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2.2.17]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1847</guid>
		<description><![CDATA[Win2003 安装 apache 2.2.17 + php5.3.4 或5.3.6 +  Mysql 配置 Aapache安装 <p>apache-2.2.17 下载地址 ：http://httpd.apache.org/download.cgi   ， http://www.apache.org/dist//httpd/binaries/win32/</p> <p>版本选择httpd-2.2.17-win32-x86-no_ssl.msi (openssl多了个ssl安全认证模式，它的协议是HTTPS而不是HTTP，无特殊ssl连接需要下载no_ssl的版本即可)。</p> <p>安装：一路next 下去 填写 network domain、server domain 一般填“localhost”即可，管理员邮箱随便填一个邮箱就可以（以后服务器出现问题，会提示联系管理员邮箱，方便处理问题。）</p> <p>安装成功：一般安装结束时会请求是否开启apache服务，可以确定开启，自动打开Apache Service Monitor 同时在电脑右下角的任务栏里有一个绿色的apache服务器运行图标，显示为&#8221;&#62;&#8221; 启动状态，此时可以本地打开浏览器输入http://localhost 或者 http://127.0.0.1 或者在其他机器上输入 该服务器ip到浏览器访问 http://xx.xx.xx.xx/  可以看到简单的测试页面 &#8220;It works&#8221; 说明apache已经成功运行。</p> PHP安装 <p>php5.3.4 ，5.3.6(最新)，5.2.17(老稳定版本，不再后续支持)  下载地址：http://windows.php.net/download/</p> <p>版本选择  Thread Safe （window下一般开发环境用此版本即可，如果是以FastCGI来执行PHP时考虑到效率，需要采用None Thread Safe版本）.</p> <p>下载zip版本 此处我 解压缩到 &#8220;C:/php-5.3.6-Win32-VC9-x86&#8243;，注意如果是在win2003下运行php5.3 以上用vc9 <span style="color:#777"> . . . &#8594; Read More: <a href="https://www.fushanlang.com/win2003-apache2-2-17-php5-3-configuration-1847/">win2003 apache2.2.17 php5.3配置</a></span>]]></description>
				<content:encoded><![CDATA[<h2>Win2003 安装 apache 2.2.17 + php5.3.4 或5.3.6 +  Mysql 配置</h2>
<h2><strong>Aapache安装</strong></h2>
<p><strong>apache-2.2.17</strong> 下载地址 ：http://httpd.apache.org/download.cgi   ， http://www.apache.org/dist//httpd/binaries/win32/</p>
<p>版本选择<strong>httpd-2.2.17-win32-x86-no_ssl.msi </strong>(openssl多了个ssl安全认证模式，它的协议是HTTPS而不是HTTP，无特殊ssl连接需要下载no_ssl的版本即可)。</p>
<p><strong>安装：</strong>一路next 下去 填写 network domain、server domain 一般填“<strong>localhost</strong>”即可，管理员邮箱随便填一个邮箱就可以（以后服务器出现问题，会提示联系管理员邮箱，方便处理问题。）</p>
<p><strong>安装成功：</strong>一般安装结束时会请求是否开启apache服务，可以确定开启，自动打开<strong>Apache Service Monitor</strong> 同时在电脑右下角的任务栏里有一个绿色的apache服务器运行图标，显示为&#8221;&gt;&#8221; 启动状态，此时可以本地打开浏览器输入http://localhost 或者 http://127.0.0.1 或者在其他机器上输入 该服务器ip到浏览器访问 http://xx.xx.xx.xx/  可以看到简单的测试页面 <strong>&#8220;It works&#8221;</strong> 说明apache已经成功运行。<span id="more-1847"></span></p>
<h2>PHP安装</h2>
<p>php5.3.4 ，5.3.6(最新)，5.2.17(老稳定版本，不再后续支持)  下载地址：http://windows.php.net/download/</p>
<p>版本选择  <strong>Thread Safe</strong> （window下一般开发环境用此版本即可，如果是以<strong>FastCGI</strong>来执行PHP时考虑到效率，需要采用None Thread Safe版本）.</p>
<p>下载<strong>zip</strong>版本 此处我 解压缩到 &#8220;C:/php-5.3.6-Win32-VC9-x86&#8243;，注意如果是在<strong>win2003</strong>下运行php5.3 以上用vc9 编译的版本的话，有可能会遇到无法运行的情况，即双击php.exe 会弹出“<strong>由于应用程序配置不正确，应用程序未能启动</strong>” 的问题，这是由于该版本的php采用vc9编译，而该<strong>win2003</strong>系统缺少运行库导致的，可以安装 <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF">Microsoft 2008 C++ Runtime (x86)</a> 来保证运行。</p>
<p><strong>问题：</strong>常见问题在配置apache里的httpd.conf 时 LoadModule php5_module 缺少 “<strong>php5apache2_2.dll</strong>” 的情况是因为下错了php版本，在Thread Safe版本下是具有php5apache2_2.dll的，而None Thread Safe版本 没有这个文件一般只用于fastcgi 所以不需要这个文件。<strong><br />
</strong></p>
<h2>MySQL安装</h2>
<p>一般安装mysql&#8211;5.1.45-win32.msi即可，安装过程中填写root密码，选择数据库编码utf8 启用innodb 选项一步一步next即可。安装成功后mysql就会以windows服务的方式启动了。</p>
<h2><strong>综合配置</strong></h2>
<p><strong>1.配置Apache：</strong></p>
<p>apache安装目录下的conf/httpd.conf 文件是比较重要的配置文件，如果害怕修改配置文件出错，则要养成修改配置文件前备份的习惯，以防出错。</p>
<p><strong>1.1 配置www网站根目录</strong>：</p>
<pre>
DocumentRoot "E:/www"
&lt;Directory "E:/www"&gt;
Options Indexes FollowSymLinks <strong>Includes ExecCGI</strong>
AllowOverride <strong>All</strong>（在打开mod_rewrite的情况下允许htaccess文件定义时需要设置为All 默认为None）
Order allow,deny
Allow from all
&lt;/Directory&gt;
</pre>
<p><strong>1.2 配置mod_rewrite:</strong></p>
<p>LoadModule rewrite_module modules/mod_rewrite.so  <br/>(现在非常流行使用rewrite功能达到美化，隐藏安全url访问的目的，打开此模块的同时也要注意目录下的AllowOverride <strong>All</strong>，才能允许htaccess有效)</p>
<p><strong>1.3A 一种方式配置mod_php：(大多数情况下采用以mod_php方式运行)</strong></p>
<pre>
（PHPIniDir为指定 php.ini的位置，可以直接放在php版本目录里面）
（以mod_php的方式运行php时需要加载 php5_module）

PHPIniDir "C:/php-5.3.6-Win32-VC9-x86"
LoadModule php5_module C:/php-5.3.6-Win32-VC9-x86/php5apache2_2.dll

（设置目录下网站首页的访问顺序如果要运行php，可以讲index.php至于前面优先访问index.php为主页）

&lt;IfModule dir_module&gt;
DirectoryIndex <strong>index.php</strong> index.html index.htm
&lt;/IfModule&gt;

（设置php5解释器，解释文件的扩展名，即访问.php或者.php3或者.phps时,
都会视为application/x-httpd-php请求，用php5解释器来解释运行）

&lt;IfModule mod_php5.c&gt;()
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
&lt;/IfModule&gt;
</pre>
<p><strong>1.3B 另一种方式配置fastcgi：(与mod_php配置有些不同，在windows下不太安全但如果要考验效率的话可以试一试)</strong></p>
<p>下载<strong>mod_fcgid-2.3.6-win32-x86</strong>，下载地址：http://httpd.apache.org/mod_fcgid/  ，下载完后 直接将 module 目录合并到 apache 安装目录下的module即可。</p>
<pre>
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script .fcgi .php
#php.ini的存放目录
FcgidInitialEnv PHPRC "C:/php-5.3.6-Win32-VC9-x86/"
# 设置PHP_FCGI_MAX_REQUESTS大于或等于FcgidMaxRequestsPerProcess，
#防止php-cgi进程在处理完所有请求前退出
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
#php-cgi每个进程的最大请求数
FcgidMaxRequestsPerProcess 1000
#php-cgi最大的进程数
FcgidMaxProcesses 3
#最大执行时间
FcgidIOTimeout 120
FcgidIdleTimeout 120
#php-cgi的路径
FcgidWrapper "C:/php-5.3.6-Win32-VC9-x86/php-cgi.exe" .php
AddType application/x-httpd-php .php
</pre>
<p><strong>#这两种方式运行php时，检查phpinfo(）可以清楚的看到两者的不同。</strong></p>
<p><strong>2. 配置PHP.ini</strong>:</p>
<pre>
date.<strong>timezone</strong> ="Asia/Shanghai"  
#(设置一下时区，一般国内可以设置为Asia/Shanghai ，不设置有些用到时间的php应用回报警告，
#ps：它又不会GPS定位你所在时区，O(∩_∩)O哈哈~)

<strong>extension_dir</strong> = "C:/php-5.3.6-Win32-VC9-x86/ext"  
#（extension_dir 指定php扩展的目录位置，必须指定绝对物理路径，
#否则加载某些扩展会找不到dll文件）
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
</pre>
<p>上面打开一般的图形扩展和mysql数据库扩展，也可根据需要打开 extension=php_curl.dll 扩展之类。</p>
<p>修改完配置要重启apache服务，在Apache Service Monitor里 restart即可，然后可以测试phpinfo（） 是否okay。</p>
<p>希望对用的童鞋有用！：）</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/win2003-apache2-2-17-php5-3-configuration-1847/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>apache Could not reliably determine the server&#8217;s fully qualified domain name</title>
		<link>https://www.fushanlang.com/apache-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-1821/</link>
		<comments>https://www.fushanlang.com/apache-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-1821/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 02:03:03 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[webserver]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1821</guid>
		<description><![CDATA[“Could not reliably determine the server&#8217;s fully qualified domain name” <p>最近安装完apache，重启APACHE老出现httpd: Could not reliably determine the server&#8217;s fully qualified domain name</p> <p>出现这个错误的原因是：ServerName 没有配置或配置错误的情况下用了系统IP做网站主机IP，而DNS未能配好，本机调试不需要配置DNS的情况下，可以将ServerName 改为localhost 本地环境，就不会请求DNS了</p> <p>解决方案：</p> <p>进入apache的安装目录，用记事本打开httpd.conf</p> <p>将里面的#ServerName www.example.com:80注释去掉即可,,并改成ServerName 127.0.0.1:80。或者 ServerName localhost:80 （80是端口，只要不冲突可以改为其他端口，一般80为默认端口)</p> <p>再执行httpd</p> <p>重启APACHE后就不会出现那个提示了.</p> ]]></description>
				<content:encoded><![CDATA[<h2>“Could not reliably determine the server&#8217;s fully qualified domain name”</h2>
<div>
<p>最近安装完apache，重启APACHE老出现httpd: Could not reliably determine the server&#8217;s fully qualified domain name</p>
<p>出现这个错误的原因是：ServerName 没有配置或配置错误的情况下用了系统IP做网站主机IP，而DNS未能配好，本机调试不需要配置DNS的情况下，可以将ServerName 改为localhost 本地环境，就不会请求DNS了</p>
<p>解决方案：</p>
<p>进入apache的安装目录，用记事本打开httpd.conf</p>
<p>将里面的#ServerName www.example.com<a href="http://www.example.com/"><span style="color: #839432;">:80</span></a>注释去掉即可,,并改成ServerName 127.0.0.1:80。或者 ServerName localhost:80 （80是端口，只要不冲突可以改为其他端口，一般80为默认端口)</p>
<p>再执行httpd</p>
<p>重启APACHE后就不会出现那个提示了.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/apache-could-not-reliably-determine-the-server-s-fully-qualified-domain-name-1821/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win2003下httpd.exe和php5ts.dll出错</title>
		<link>https://www.fushanlang.com/faulting-application-httpd-exe-version-2-2-8-0-faulting-module-php5ts-dll-version-5-2-6-6-incorrectly-1244/</link>
		<comments>https://www.fushanlang.com/faulting-application-httpd-exe-version-2-2-8-0-faulting-module-php5ts-dll-version-5-2-6-6-incorrectly-1244/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 02:35:06 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[计算机问题]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1244</guid>
		<description><![CDATA[错误应用程序 httpd.exe,版本 2.2.8.0,错误模块 php5ts.dll,版本 5.2.6.6,错误地址 Faulting application httpd.exe, version 2.2.8.0, faulting module php5ts.dll, version 5.2.6.6, fault address <p>今天打开winsever2003,之前安装的WAMP自动启动，突然蹦出了apache错误的对话框，检查log提示如上信息，但是apache并不会down掉，而且还曾经因此情况遇到过一次蓝屏。所以今天想查出个所以然来，再次请教Google大婶，终于搞清楚了。</p> <p>我们本机winXP系统开发测试的环境下WAMP从来没有遇到过类似的问题，之前我安装在另一台win2003上也没遇到过类似的问题，然而今天这个win2003遇到问题，估计是因为我关闭了win2003的更新，很多更新包都没有安装，在一台已经更新到最新的win2003上还没有遇到过类似问题。</p> <p>所以Google 给出了一种解决方案是升级apache至少到2.2.15，php直接升级到最新5.3.3，这种组合至今还没有人遇到类似问题 , 另一种解决方案升级你的win2003服务器，如果管用的话，升级完毕后重新配置WAMP，如果这管用的话，因为我在另外一台更新到最新的win2003上还没有遇到过类似问题。Good luck ！</p> <p>诚然这肯定是winServer的问题，win2003，甚至win2008都有人遇到过类似问题。以下收集的国外论坛的讨论:</p> <p>+++Date: August 07, 2008 11:57AM</p> <p>Using phpmyadmin, export then import.I have tried copying it in the same way to another Windows XP box and this works so the <span style="color:#777"> . . . &#8594; Read More: <a href="https://www.fushanlang.com/faulting-application-httpd-exe-version-2-2-8-0-faulting-module-php5ts-dll-version-5-2-6-6-incorrectly-1244/">win2003下httpd.exe和php5ts.dll出错</a></span>]]></description>
				<content:encoded><![CDATA[<h2>错误应用程序 httpd.exe,版本 2.2.8.0,错误模块 php5ts.dll,版本 5.2.6.6,错误地址</h2>
<h2>Faulting application httpd.exe, version 2.2.8.0, faulting module php5ts.dll, version 5.2.6.6, fault address</h2>
<p>今天打开winsever2003,之前安装的WAMP自动启动，突然蹦出了apache错误的对话框，检查log提示如上信息，但是apache并不会down掉，而且还曾经因此情况遇到过一次蓝屏。所以今天想查出个所以然来，再次请教Google大婶，终于搞清楚了。<span id="more-1244"></span></p>
<p>我们本机winXP系统开发测试的环境下WAMP从来没有遇到过类似的问题，之前我安装在另一台win2003上也没遇到过类似的问题，然而今天这个win2003遇到问题，估计是因为我关闭了win2003的更新，很多更新包都没有安装，在一台已经更新到最新的win2003上还没有遇到过类似问题。</p>
<p><strong>所以Google 给出了一种解决方案是升级apache至少到2.2.15，php直接升级到最新5.3.3，这种组合至今还没有人遇到类似问题 , 另一种解决方案升级你的win2003服务器，如果管用的话，升级完毕后重新配置WAMP，如果这管用的话，因为我在另外一台更新到最新的win2003上还没有遇到过类似问题。Good luck ！</strong></p>
<p>诚然这肯定是winServer的问题，win2003，甚至win2008都有人遇到过类似问题。以下收集的国外论坛的讨论:</p>
<p>+++Date: August 07, 2008 11:57AM</p>
<p>Using phpmyadmin, export then import.I have tried copying it in the same way to another Windows XP box and this works so the only thing I can put my finger on is that<strong> it must be a Server 2003 problem.</strong></p>
<p>+++Date: August 11, 2008 05:47PM</p>
<p>I&#8217;ve downloaded like<strong> EVERY version of apache and php </strong>from the this site now and <strong>no combination seems to work&#8230;</strong></p>
<p>++++Date: 15. October 2010 14:45 </p>
<p>I am running <strong>XAMPP 1.7.2 (with SSL)</strong> on a <strong>Windows server 2008 standaard R2 editon</strong>. The server became active in March, without errors. Since August the &#8216;event viewer&#8217; sometimes (<strong>max 3 times a day, each day on diverend times</strong>) gifs a error, see below. <strong>After the error Apache automatic restarts.</strong> I can normaly start en stop apache whenever I want, so the problem is there only where Apache is running.</p>
<p>I have tride many things like: <!-- l -->viewtopic.php?p=154906<!-- l --> (and many more other sites)<br />
<strong>But what I found, nothing worked the error still remains.</strong></p>
<p>++++Date: 22. November 2009 07:42 </p>
<p>Some one else had success by <strong>copying the php5ts.dll to other locations mentioned</strong> in the search results.Others had success by <strong>rebooting their PC</strong>, so as you can see the answers are varied indeed.<strong>I have not been able to find a definitive solution for this.</strong></p>
<p>+++Date:12. October 2009 20:01 </p>
<p><strong>I keep getting this error message every so often</strong>. Im running XAMPP 1.7.2 with <strong>Windows Server 2008 Standard</strong>. It seems like it will run fine forever and then when someone goes into the dashboard on WordPress, that&#8217;s when it eventually stops. If I check the error log in Windows it reads &#8220;<strong>Faulting application httpd.exe version 2.1.12.0, time stamp 0x4a66dd7b, faulting module php5ts.dll, version 5.3.0.0</strong>&#8230;&#8230;..This is on a brand new server only used for XAMPP and WordPress. I read where someone else was having this problem and they said it was because of the 2.1.12.0. I guess a newer version was released. I&#8217;m more of a network guy than a programmer so I&#8217;m sure my lack of knowledge is somewhat limiting my fix of this. Any suggestions?</p>
<p>+++[2008-05-17 21:21 UTC] ramons at gmx dot net</p>
<p>I get the same error on <strong>XP 64 bit</strong>, which is the same as <strong>Server 2003 64 bit</strong> in regards to 99% of the OS.Also, same issue, but get it after opening just one connection to MySQL on a different system.Using latest stable PHP version, which at this point is 5.2.6. Used older version 5.2.3 and get the same error.<strong>Since this crash always happens every time I connect to MySQL it makes PHP unusable at the moment on x64 Windows systems.</strong></p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/faulting-application-httpd-exe-version-2-2-8-0-faulting-module-php5ts-dll-version-5-2-6-6-incorrectly-1244/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache、Nginx、Lighttpd对比</title>
		<link>https://www.fushanlang.com/apache-nginx-lighttpd-contrast-1210/</link>
		<comments>https://www.fushanlang.com/apache-nginx-lighttpd-contrast-1210/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 12:48:15 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1210</guid>
		<description><![CDATA[<p>Apache</p> * 经典的Web服务器 * 除了慢没有别的缺点了 * 对了，Apache2对fcgi支持并不好 * 非常好用的proxy和proxy_ajp（很多人用它作为tomcat的前端） * 不支持epoll（这年头，epoll几乎是性能的必备） <p></p> <p>Nginx</p> * 速度快，占用资源少 * 杀手级的proxy和rewrite * 非常不错的静态文件能力 * 最适合作为整个网站的前端服务（将php、svn等不同请求发送往后端apache） * 其他功能马马虎虎 <p>Lighttpd</p> * 杀手级的静态文件能力 * 杀手级的fcgi能力 * 不稳定的proxy模块 <p>总结一下：</p> 1. 如果你不确定应该用什么服务器，那就应该用Apache 2.稍微可以配置多个服务的情况下，做一个Nginx在最前端，然后把需要的功能转发给Apache是最好的选择 3.如果跑fcgi，Lighttpd是不二的选择 4.如果做图片服务器，独立的Lighttpd也是很好的选择 5. Apache 在处理流量爆发的时候(比如爬虫或者是 Digg 效应) 很容易过载，这样的情况下采用 Nginx 不失为大胆而有效的尝试。 6.当前 Ngnix 相关的文档和用户经验还是很欠缺，用户之间很难做到可借鉴性的交流。 7. 使用 lighttpd 作为web服务器 nginx作为负载均衡器 squid作为静态缓存器 是一个比较好的搭配. ]]></description>
				<content:encoded><![CDATA[<p>Apache</p>
<ul>
<li>* 经典的Web服务器</li>
<li>* 除了慢没有别的缺点了</li>
<li>* 对了，Apache2对fcgi支持并不好</li>
<li>* 非常好用的proxy和proxy_ajp（很多人用它作为tomcat的前端）</li>
<li>* 不支持epoll（这年头，epoll几乎是性能的必备）</li>
</ul>
<p><span id="more-1210"></span></p>
<p>Nginx</p>
<ul>
<li>* 速度快，占用资源少</li>
<li>* 杀手级的proxy和rewrite</li>
<li>* 非常不错的静态文件能力</li>
<li>* 最适合作为整个网站的前端服务（将php、svn等不同请求发送往后端apache）</li>
<li>* 其他功能马马虎虎</li>
</ul>
<p>Lighttpd</p>
<ul>
<li>* 杀手级的静态文件能力</li>
<li>* 杀手级的fcgi能力</li>
<li>* 不稳定的proxy模块</li>
</ul>
<p>总结一下：</p>
<ul>
<li>1. 如果你不确定应该用什么服务器，那就应该用Apache</li>
<li>2.稍微可以配置多个服务的情况下，做一个Nginx在最前端，然后把需要的功能转发给Apache是最好的选择</li>
<li>3.如果跑fcgi，Lighttpd是不二的选择</li>
<li>4.如果做图片服务器，独立的Lighttpd也是很好的选择</li>
<li>5. Apache 在处理流量爆发的时候(比如爬虫或者是 Digg 效应) 很容易过载，这样的情况下采用 Nginx 不失为大胆而有效的尝试。</li>
<li>6.当前 Ngnix 相关的文档和用户经验还是很欠缺，用户之间很难做到可借鉴性的交流。</li>
<li>7. 使用 lighttpd 作为web服务器 nginx作为负载均衡器 squid作为静态缓存器 是一个比较好的搭配.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/apache-nginx-lighttpd-contrast-1210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.221 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2025-12-17 17:15:06 -->
