<?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.800l.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.800l.com</link>
	<description>From now on, i only care about the person who care about me.</description>
	<lastBuildDate>Mon, 06 Feb 2012 07:10:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Nginx安装phpMyAdmin出现Http400错误解决方法</title>
		<link>http://www.800l.com/nginx-phpmyadmin-http400.html</link>
		<comments>http://www.800l.com/nginx-phpmyadmin-http400.html#comments</comments>
		<pubDate>Tue, 15 Feb 2011 11:52:15 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=559</guid>
		<description><![CDATA[HTTP 400
The plain HTTP request was sent to HTTPS port
能看到这篇文章说明你正尝试用ssl访问phpmyadmin,google一下早有牛人在07年就解决了这个问题：
在

fastcgi_pass  127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
fastcgi_param HTTPS on;（加到这里，上下无所谓在大括号内即可）
加入
fastcgi_param HTTPS     on;
平滑重启即可。
]]></description>
			<content:encoded><![CDATA[<blockquote><p>HTTP 400</p>
<p>The plain HTTP request was sent to HTTPS port</p></blockquote>
<p>能看到这篇文章说明你正尝试用ssl访问phpmyadmin,google一下早有牛人在07年就解决了这个问题：</p>
<p>在</p>
<p><span id="more-559"></span></p>
<blockquote><p>fastcgi_pass  127.0.0.1:9000;<br />
fastcgi_index index.php;<br />
include fcgi.conf;<br />
<span style="color: #ff0000;">fastcgi_param HTTPS on;（加到这里，上下无所谓在大括号内即可）</span></p></blockquote>
<p>加入</p>
<blockquote><p><code><code><code>fastcgi_param HTTPS     on;</code></code></code></p></blockquote>
<p>平滑重启即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/nginx-phpmyadmin-http400.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>有关 Nginx + PHP + MySQL 的搭建</title>
		<link>http://www.800l.com/nginx-php-mysql.html</link>
		<comments>http://www.800l.com/nginx-php-mysql.html#comments</comments>
		<pubDate>Mon, 14 Feb 2011 02:11:33 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=554</guid>
		<description><![CDATA[关于这个教程的话，我看最权威的就是张宴大师的博客了，不转载
只给出链接http://blog.s135.com/nginx_php_v6/
]]></description>
			<content:encoded><![CDATA[<p>关于这个教程的话，我看最权威的就是张宴大师的博客了，不转载</p>
<p><span id="more-554"></span>只给出链接http://blog.s135.com/nginx_php_v6/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/nginx-php-mysql.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Server Rewrite模块启用说明</title>
		<link>http://www.800l.com/zend-server-mod_rewrite-not-working.html</link>
		<comments>http://www.800l.com/zend-server-mod_rewrite-not-working.html#comments</comments>
		<pubDate>Fri, 21 Aug 2009 08:15:07 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WAMP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=331</guid>
		<description><![CDATA[不知道为什么 Zend Server 的Rewrite模块我明明启用了，可就是不工作。
于是到 zend forums 上面找了答案，只需要把两个 &#60;Directory &#8230;&#62;，里面的“AllowOverride None”改为“AllowOverride All”再重启Apache即可。
]]></description>
			<content:encoded><![CDATA[<p>不知道为什么 Zend Server 的Rewrite模块我明明启用了，可就是不工作。</p>
<p>于是到 zend forums 上面找了答案，只需要把两个 <span style="FONT-WEIGHT: bold">&lt;Directory &#8230;&gt;</span>，里面的“<span style="FONT-WEIGHT: bold">AllowOverride None”</span>改为<span style="FONT-WEIGHT: bold">“AllowOverride All”</span>再重启Apache即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/zend-server-mod_rewrite-not-working.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>纳新系统基本已经完成</title>
		<link>http://www.800l.com/reg-new-members-system-continue.html</link>
		<comments>http://www.800l.com/reg-new-members-system-continue.html#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:20:54 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=324</guid>
		<description><![CDATA[忙了几天，青协的纳新系统基本上已经写好了，数据库构建的不是很合理，还有一个BUG是Session销毁不及时会导致系统错误，添加进Session定时销毁应该就没什么问题了，然后数据测试下差不多就可以投入公测了。PHP结合MySQL写的一个小系统，实现报名无纸化。
]]></description>
			<content:encoded><![CDATA[<p>忙了几天，青协的纳新系统基本上已经写好了，数据库构建的不是很合理，还有一个BUG是Session销毁不及时会导致系统错误，添加进Session定时销毁应该就没什么问题了，然后数据测试下差不多就可以投入公测了。PHP结合MySQL写的一个小系统，实现报名无纸化。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/reg-new-members-system-continue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache 与 IIS 共用80端口</title>
		<link>http://www.800l.com/apache-iis-port-80.html</link>
		<comments>http://www.800l.com/apache-iis-port-80.html#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:14:05 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WAMP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=296</guid>
		<description><![CDATA[在运行有 Windows 操作系统的服务器上，有用 ASP/ASP.NET 写的程序需要 IIS 环境，又有PHP程序需要运行（比如装个Discuz!论坛），而你不是通过IIS加载筛选器的方法（比较麻烦）架设PHP，而是利用WAMP一键搭建，这时就会遇到端口的麻烦。
我建议用Apache的代理模块解决该问题。

具体做法：
将 Apache 设为使用80端口，IIS使用其它端口，比如8080，然后将 Apache 作为 IIS 的代理。
在Apache的配置文件httpd.conf里面，取消下面四行的注释：
LoadModule proxy_module  [...]]]></description>
			<content:encoded><![CDATA[<p>在运行有 Windows 操作系统的服务器上，有用 ASP/ASP.NET 写的程序需要 IIS 环境，又有PHP程序需要运行（比如装个Discuz!论坛），而你不是通过IIS加载筛选器的方法（比较麻烦）架设PHP，而是利用WAMP一键搭建，这时就会遇到端口的麻烦。</p>
<p>我建议用Apache的代理模块解决该问题。</p>
<p><span id="more-296"></span></p>
<p>具体做法：</p>
<p>将 Apache 设为使用80端口，IIS使用其它端口，比如8080，然后将 Apache 作为 IIS 的代理。</p>
<p>在Apache的配置文件httpd.conf里面，取消下面四行的注释：<br />
LoadModule proxy_module modules/mod_proxy.so<br />
LoadModule proxy_connect_module modules/mod_proxy_connect.so<br />
LoadModule proxy_http_module modules/mod_proxy_http.so<br />
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so</p>
<p>然后对应IIS里的每个站点都建立一个虚拟主机，将该域名的所有访问转向该域名的8080端口。</p>
<p>#域名example.800l.com到IIS主站 ASP/ASP.Net<br />
NameVirtualHost example.800l.com<br />
&lt;VirtualHost example.800l.com&gt;<br />
ServerName example.800l.com<br />
ProxyPass / http://example.800l.com:8080/<br />
ProxyPassReverse / http://example.800l.com:8080/<br />
&lt;/VirtualHost&gt;</p>
<p>这样，对外就可以只需要一个端口，即可同时使用Apache和IIS的功能了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/apache-iis-port-80.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>搭建PHP学习环境</title>
		<link>http://www.800l.com/php-learn-environment.html</link>
		<comments>http://www.800l.com/php-learn-environment.html#comments</comments>
		<pubDate>Mon, 23 Feb 2009 14:23:03 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[电脑软件]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=186</guid>
		<description><![CDATA[         鉴于每次将写好的php文件上传到空间再看效果的麻烦性，今天我决定自己搭个php空间用来学习，由于前几天转换论坛已经做好了虚拟机，于是就在那天的Windows 2003虚拟机上安装个Apache 2.2.11，安装在D盘根目录下：D:\Apache，安装过程非常简单，我就不赘述了。

         然后到php.net下载php5.2.8的zip安装包，解压缩放在D盘根目录下：D:\php5，将php5目录里的php.ini-recommand命名为php.ini，打开php.ini修改选项 extension_dir = “D:\php5&#8243;  [...]]]></description>
			<content:encoded><![CDATA[<p>         鉴于每次将写好的php文件上传到空间再看效果的麻烦性，今天我决定自己搭个php空间用来学习，由于前几天<a href="http://www.800l.com/discuznt-to-discuz.html">转换论坛</a>已经做好了虚拟机，于是就在那天的Windows 2003虚拟机上安装个<a href="http://httpd.apache.org/download.cgi" target="_blank">Apache 2.2.11</a>，安装在D盘根目录下：D:\Apache，安装过程非常简单，我就不赘述了。</p>
<p><span id="more-186"></span></p>
<p>         然后到php.net下载php5.2.8的zip安装包，解压缩放在D盘根目录下：D:\php5，将php5目录里的php.ini-recommand命名为php.ini，打开php.ini修改选项 extension_dir = “D:\php5&#8243; ，找到Dynamic Extensions，根据需要去掉下面对应扩展前的“;”保存。复制php.ini至C:\Windows，复制php5ts.dll到C:\Windows\System32，打开D:\Apache\conf\httpd.conf，添加代码<br />
LoadModule php5_module “D:/php5/php5apache2_2.dll”<br />
AddType application/x-httpd-php .php<br />
重启Apache就OK了！</p>
<p> MySQL还没学到，就不安装了，等下次更新。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/php-learn-environment.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DiscuzNT转Discuz教程手记</title>
		<link>http://www.800l.com/discuznt-to-discuz.html</link>
		<comments>http://www.800l.com/discuznt-to-discuz.html#comments</comments>
		<pubDate>Fri, 20 Feb 2009 05:44:58 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Discuz!]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=165</guid>
		<description><![CDATA[鉴于Discuz!NT惊人的发展速度，实在有违本人对它的期望，也辜负了ASP.Net的优点。所以我决定将现在正在使用的 Discuz!NT 2.6正式版 转换成 Discuz!7.0 正式版。
由于Discuz!NT官方不提供数据库转换程序(官方说法是还没制作出来，不过为什么大家应该可以看出来)。但好在 白天乐 为大家写了一个转换数据库程序。
现在，我就将整个论坛的转换步骤给大家借鉴一下。

首先，来说说原先我使用的环境：我原先的论坛是使用 Windows 2003 标准版 + Discuz!NT 2.6正式版 +  [...]]]></description>
			<content:encoded><![CDATA[<p>鉴于Discuz!NT惊人的发展速度，实在有违本人对它的期望，也辜负了ASP.Net的优点。所以我决定将现在正在使用的 <a href="http://www.800l.com/tag/discuz">Discuz!</a>NT 2.6正式版 转换成 Discuz!7.0 正式版。</p>
<p>由于Discuz!NT官方不提供数据库转换程序(官方说法是还没制作出来，不过为什么大家应该可以看出来)。但好在 白天乐 为大家写了一个转换数据库程序。</p>
<p>现在，我就将整个论坛的转换步骤给大家借鉴一下。</p>
<p><span id="more-165"></span></p>
<p>首先，来说说原先我使用的环境：我原先的论坛是使用 Windows 2003 标准版 + Discuz!NT 2.6正式版 + MSSQL2005，要是使用MSSQL2000的其实方法也一样，只不过对应要安装2000的数据库系统。</p>
<p>转换完毕后，我现在使用的是 Linux+Apache2+PHP5+MySQL5+Discuz!7.0正式版(GBK)，选择GBK的原因主要有二：首先，Discuz!官方使用GBK；其次，可用资源丰富。</p>
<p>废话不多说了，现在开始转换工作：</p>
<p>1.安装虚拟机 Windows 2003 标准版(这里安装双系统亦可)，升级SP1，加装MSSQL2005(注意要使用sa用户，用MSSQL2000的数据库这里就安装MSSQL2000)；</p>
<p>2.从现有Discuz!NT论坛上后台备份数据库并拷到本地Win2003中，并在MSSQL中还原备份，到这里原论坛数据准备完毕；</p>
<p>3.搭建LAMP环境，由于是只是转换数据，可直接使用Discuz!官方的ComsenzEXP，地址：<a href="http://www.discuz.net/thread-223885-1-1.html">http://www.discuz.net/thread-223885-1-1.html</a>，注意下载GBK编码的，写本文时ComsenzEXP的版本是2.0.0，安装过程非常简单，就不多说了，装完可用<a href="http://localhost/">http://localhost/</a>进行访问(好像要加端口号)；</p>
<p>4.准备转换工具：下载《Discuz!NT to Discuz7.0论坛转换工具》，作者网站地址：<a href="http://www.bbstobbs.com/thread-95-1-1.html">http://www.bbstobbs.com/thread-95-1-1.html</a>，直接下载地址：<a href="http://www.bbstobbs.com/downfile/DiscuzNTtoPHP7.rar">http://www.bbstobbs.com/downfile/DiscuzNTtoPHP7.rar</a>，写本文时该软件的版本是3.00；</p>
<p>5.开始转换过程：双击打开《Discuz!NT to Discuz7.0论坛转换工具》，填入MSSQL对应sa用户的密码，要转换的数据库名及表前缀，Discuz论坛设置里将端口号改成“6033”，UC表前缀记得要改为“cdb_uc_”！其余可根据需要选择，而后点集确定进入下一步，这步里的选项可根据实际需要选择，再次点击确定就开始转换过程，末了会提示“转换完毕！”；</p>
<p>6.由<a href="http://localhost">http://localhost</a>进入Discuz!即可预览转换效果，然后登陆后台，到UCenter中备份数据库文件，这时就会得到类似“090214_F3sdfo-1.sql”这样的备份，将所有备份数据库拷出至一个临时文件夹；</p>
<p>7.到你的空间去安装一个GBK编码的Discuz!7.0(如果需要转换博客或者相册，还要安装UCHome)，上传上面得到的备份数据库，到后台&#8211;〉工具中恢复分卷数据库(注意这里UCenter要能和Discuz!通信)。至此数据库恢复完成，论坛基本OK了；</p>
<p>8.转移附件、表情。将原论坛的upload目录改名为attachments，覆盖Discuz!7.0论坛下的同名attachments目录即可；将原论坛editor\images\smilies\下的所有文件夹及文件，复制到Discuz!7.0论坛images\smilies文件夹下；如选择转换相册，在UCHome下attachment目录下新建目录space，将原论坛space目录下的upload文件夹复制进去。</p>
<p>9.转移用户组图标，将原论坛images\groupicons下所有图标文件，复制到Discuz!7.0论坛的images/common下。</p>
<p>10.登入Discuz!7.0后台&#8211;&gt;界面&#8211;&gt;在线列表图标，点击“提交”。</p>
<p>11.登入Discuz!7.0后台，更新缓存。刷新论坛首页面，完成所有转换！告别Discuz!NT。</p>
<p>建议：不要转成UTF-8的，会出现乱码情况和数据丢失问题！</p>
<p>后记：转好了真高兴，稳定运行了两天才来写这个，我的装换效果可见<a href="http://www.goours.com">http://www.goours.com</a>，本文可以转载，但请保留本文出处：<a href="http://www.800L.com">www.800L.com</a>！)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/discuznt-to-discuz.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一起学习PHP吧</title>
		<link>http://www.800l.com/php-together.html</link>
		<comments>http://www.800l.com/php-together.html#comments</comments>
		<pubDate>Wed, 11 Feb 2009 14:50:02 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[心情随笔]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=140</guid>
		<description><![CDATA[         在这里我就不再列举PHP的优点了，有些累赘了。2月份正式开始接触PHP，很好，很强大，而且开源的程序特别多，发展的也相当成熟，特别是在增加数组模块后的版本5，好好学习。
         欢迎大家和我一起探讨！
]]></description>
			<content:encoded><![CDATA[<p>         在这里我就不再列举<a href="http://http://www.800l.com/tag/php" target="_self">PHP</a>的优点了，有些累赘了。2月份正式开始接触<a href="http://http://www.800l.com/tag/php" target="_self">PHP</a>，很好，很强大，而且开源的程序特别多，发展的也相当成熟，特别是在增加数组模块后的版本5，好好学习。</p>
<p>         欢迎大家和我一起探讨！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/php-together.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

