<?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; 技术整理</title>
	<atom:link href="http://www.dusike.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dusike.com</link>
	<description>蔡文卫电子商务创业亲身经历与实践的总结分享，确保真实可用。</description>
	<lastBuildDate>Sat, 04 Sep 2010 17:58:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>在64位Centos(Linux)+nginx上安装 PHP IMAP模块安装</title>
		<link>http://www.dusike.com/%e5%9c%a864%e4%bd%8dcentoslinuxnginx%e4%b8%8a%e5%ae%89%e8%a3%85-php-imap%e6%a8%a1%e5%9d%97%e5%ae%89%e8%a3%85/</link>
		<comments>http://www.dusike.com/%e5%9c%a864%e4%bd%8dcentoslinuxnginx%e4%b8%8a%e5%ae%89%e8%a3%85-php-imap%e6%a8%a1%e5%9d%97%e5%ae%89%e8%a3%85/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 17:55:33 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/%e5%9c%a864%e4%bd%8dcentoslinuxnginx%e4%b8%8a%e5%ae%89%e8%a3%85-php-imap%e6%a8%a1%e5%9d%97%e5%ae%89%e8%a3%85/</guid>
		<description><![CDATA[下载编译c-client.tar.Z
  wget ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
  gunzip c-client.tar.Z
  tar xvf c-client.tar
  cd imap-2007e
  make  lr5  EXTRACFLAGS=&#8221;-fPIC&#8221;
  (lr5 Redhat5及以上 CentOS5以上 Redhat4 使用 lrh)
  cp -pfr c-client /usr/local/imap-c-client
  mkdir /usr/local/imap-c-client/lib
  cp /usr/local/imap-c-client/c-client.a /usr/local/imap-c-client/lib/libc-client.a
编译php
以前部署nginx时，php安装在/data0/software/php-5.2.13/，所以我在原来的编译上再加上&#8211;with-imap=/usr/local/imap-c-client &#8211;with-imap-ssl ，下面以粗体显示。
cd /data0/software/php-5.2.13/
./configure &#8211;prefix=/usr/local/webserver/php &#8211;with-config-file-path=/usr/local/webserver/php/etc &#8211;with-mysql=/usr/local/webserver/mysql &#8211;with-mysqli=/usr/local/webserver/mysql/bin/mysql_config &#8211;with-iconv-dir=/usr/local &#8211;with-freetype-dir &#8211;with-jpeg-dir &#8211;with-png-dir &#8211;with-zlib &#8211;with-libxml-dir=/usr &#8211;enable-xml &#8211;disable-rpath &#8211;enable-discard-path &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curl &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fastcgi &#8211;enable-fpm &#8211;enable-force-cgi-redirect [...]]]></description>
			<content:encoded><![CDATA[<p><strong>下载编译c-client.tar.Z</strong><br />
  wget <a href="ftp://ftp.cac.washington.edu/imap/c-client.tar.Z">ftp://ftp.cac.washington.edu/imap/c-client.tar.Z</a><br />
  gunzip c-client.tar.Z<br />
  tar xvf c-client.tar<br />
  cd imap-2007e<br />
  make  lr5  EXTRACFLAGS=&#8221;-fPIC&#8221;<br />
  (lr5 Redhat5及以上 CentOS5以上 Redhat4 使用 lrh)<br />
  cp -pfr c-client /usr/local/imap-c-client<br />
  mkdir /usr/local/imap-c-client/lib<br />
  cp /usr/local/imap-c-client/c-client.a /usr/local/imap-c-client/lib/libc-client.a</p>
<p><strong>编译php</strong></p>
<p>以前部署nginx时，php安装在/data0/software/php-5.2.13/，所以我在原来的编译上再加上<strong>&#8211;with-imap=/usr/local/imap-c-client &#8211;with-imap-ssl</strong> ，下面以粗体显示。</p>
<p>cd /data0/software/php-5.2.13/<br />
./configure &#8211;prefix=/usr/local/webserver/php &#8211;with-config-file-path=/usr/local/webserver/php/etc &#8211;with-mysql=/usr/local/webserver/mysql &#8211;with-mysqli=/usr/local/webserver/mysql/bin/mysql_config &#8211;with-iconv-dir=/usr/local &#8211;with-freetype-dir &#8211;with-jpeg-dir &#8211;with-png-dir &#8211;with-zlib &#8211;with-libxml-dir=/usr &#8211;enable-xml &#8211;disable-rpath &#8211;enable-discard-path &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curl &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fastcgi &#8211;enable-fpm &#8211;enable-force-cgi-redirect &#8211;enable-mbstring &#8211;with-mcrypt &#8211;with-gd &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;with-mhash &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-ldap &#8211;with-ldap-sasl &#8211;with-xmlrpc<strong> &#8211;with-imap=/usr/local/imap-c-client &#8211;with-imap-ssl</strong> &#8211;enable-zip &#8211;enable-soap </p>
<p>make ZEND_EXTRA_LIBS=&#8217;-liconv&#8217;<br />
make install</p>
<p>重新启动php&amp;nginx</p>
<p>测试一下应用，成功了.
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/%e5%9c%a864%e4%bd%8dcentoslinuxnginx%e4%b8%8a%e5%ae%89%e8%a3%85-php-imap%e6%a8%a1%e5%9d%97%e5%ae%89%e8%a3%85/">在64位Centos(Linux)+nginx上安装 PHP IMAP模块安装</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/%e5%9c%a864%e4%bd%8dcentoslinuxnginx%e4%b8%8a%e5%ae%89%e8%a3%85-php-imap%e6%a8%a1%e5%9d%97%e5%ae%89%e8%a3%85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xampp中apache,mysql启动不了的原因之一</title>
		<link>http://www.dusike.com/xamppzhongapachemysqlqidongbuliaodeyuanyinzhiyi/</link>
		<comments>http://www.dusike.com/xamppzhongapachemysqlqidongbuliaodeyuanyinzhiyi/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 05:45:36 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2291</guid>
		<description><![CDATA[最近在用xampp进行测试程序时，总遇到apache,或者mysql启动不了情况
我用的版本是windows的1.70，上次博文提到最新1.7.3与zend结合时有问题，不方便
多次尝试总算找到启动不了原因
apache启动不了，是因为启动了QQ下载软件，关了就可以了，如果大家以后遇到此情况，可以考虑本机是否运行了其它什么软件，可以尝试关了试试
mysql启动不了，是因为xampp自带的管理工具一启动就加载MYSQL服务,由于加载的程序且不能成功启动，导致MYSQL启动不了。解决办法很简单删除mysql服务，执行此命令 SC DELETE &#8220;MYSQL&#8221;

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: xampp中apache,mysql启动不了的原因之一

]]></description>
			<content:encoded><![CDATA[<p>最近在用xampp进行测试程序时，总遇到apache,或者mysql启动不了情况</p>
<p>我用的版本是windows的1.70，上次博文提到最新1.7.3与zend结合时有问题，不方便</p>
<p>多次尝试总算找到启动不了原因</p>
<p>apache启动不了，是因为启动了QQ下载软件，关了就可以了，如果大家以后遇到此情况，可以考虑本机是否运行了其它什么软件，可以尝试关了试试</p>
<p>mysql启动不了，是因为xampp自带的管理工具一启动就加载MYSQL服务,由于加载的程序且不能成功启动，导致MYSQL启动不了。解决办法很简单删除mysql服务，执行此命令 SC DELETE &#8220;MYSQL&#8221;
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/xamppzhongapachemysqlqidongbuliaodeyuanyinzhiyi/">xampp中apache,mysql启动不了的原因之一</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/xamppzhongapachemysqlqidongbuliaodeyuanyinzhiyi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>备忘一下，IP地址的反向解析检查</title>
		<link>http://www.dusike.com/beiwangyixiaipdizhidefanxiangjiexifangfa/</link>
		<comments>http://www.dusike.com/beiwangyixiaipdizhidefanxiangjiexifangfa/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 10:19:20 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2285</guid>
		<description><![CDATA[查询域名反向解析是否生效可以使用Windows下的nslookup命令
命令格式： nslookup -qa=ptr xxx.xxx.xxx.xxx
-qa=ptr说明查询类型是PTR也就是反向查询 后面请跟上你要做反向解析的IP地址 (反向解析是从IP查主机名的解析,所以不用与域名的解析混淆)
如下为一个正确PTR解析的输出结果 
C:\Users\sony&#62;nslookup -qt=ptr 203.86.5.67
服务器:  ns.szptt.net.cn
Address:  202.96.134.133:53
非权威应答:
67.5.86.203.in-addr.arpa        name = mail.idcsea.net
如果看到类型最后一行的红色部分说明反向解析已经成功。

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 备忘一下，IP地址的反向解析检查

]]></description>
			<content:encoded><![CDATA[<p>查询域名反向解析是否生效可以使用Windows下的nslookup命令</p>
<p>命令格式： nslookup -qa=ptr xxx.xxx.xxx.xxx</p>
<p>-qa=ptr说明查询类型是PTR也就是反向查询 后面请跟上你要做反向解析的IP地址 (反向解析是从IP查主机名的解析,所以不用与域名的解析混淆)</p>
<p>如下为一个正确PTR解析的输出结果 </p>
<p>C:\Users\sony&gt;nslookup -qt=ptr <span style="color: #ff0000;">203.86.5.67</span><br />
服务器:  ns.szptt.net.cn<br />
Address:  202.96.134.133:53</p>
<p>非权威应答:<br />
<span style="color: #ff0000;">67.5.86.203.in-addr.arpa        name = mail.idcsea.net</span></p>
<p>如果看到类型最后一行的红色部分说明反向解析已经成功。
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/beiwangyixiaipdizhidefanxiangjiexifangfa/">备忘一下，IP地址的反向解析检查</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/beiwangyixiaipdizhidefanxiangjiexifangfa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>找到几个类似豆瓣网站</title>
		<link>http://www.dusike.com/zhaodaojigeleisidoubanwangzhan/</link>
		<comments>http://www.dusike.com/zhaodaojigeleisidoubanwangzhan/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 11:15:01 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[软件推荐]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2268</guid>
		<description><![CDATA[http://www.librarything.com/
http://www.blippr.com/
http://www.flixster.com
http://www.stumbleupon.com/
http://www.shelfari.com/
http://livingsocial.com/
 http://www.listal.com/

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 找到几个类似豆瓣网站

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.librarything.com/">http://www.librarything.com/</a></p>
<p><a href="http://www.blippr.com/">http://www.blippr.com/</a></p>
<p><a href="http://www.flixster.com">http://www.flixster.com</a></p>
<p><a href="http://www.stumbleupon.com/">http://www.stumbleupon.com/</a></p>
<p><a href="http://www.shelfari.com/">http://www.shelfari.com/</a></p>
<p><a href="http://livingsocial.com/">http://livingsocial.com/</a></p>
<p> <a href="http://www.listal.com/">http://www.listal.com/</a>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/zhaodaojigeleisidoubanwangzhan/">找到几个类似豆瓣网站</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/zhaodaojigeleisidoubanwangzhan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再次部署基于ROR，Ruby&amp;Rails的项目管理软件Redmine</title>
		<link>http://www.dusike.com/zaicibushushenzhirorrubyrailsdexiangmuguanliruanjianredmine/</link>
		<comments>http://www.dusike.com/zaicibushushenzhirorrubyrailsdexiangmuguanliruanjianredmine/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 18:15:55 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2254</guid>
		<description><![CDATA[http://www.dusike.com/pm-redmine/
上次部署是在windows下的installrails环境的，由于此环境一直没有更新，今天发现一个新的windows下的运行环境rubyinstaller，所以就来一试。
数据库直接借用我本机的xampp中的mysql
1.下载Ruby独立安装包
https://rubyforge.org/frs/?group_id=167
         下载RubyInstaller下exe格式的安装包,建议不要是最新，建议1.87。
2.打开Ruby独立安装包，直接安装，安装完打开命令提示符
输入

ruby -v
如果显示Ruby的版本号就安装成功了
然后安装Rails
接着输入

gem install rails

等它自动下载安装

Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
8 gems installed
Installing ri documentation for rake-0.8.7&#8230;
Installing ri documentation for activesupport-2.3.5&#8230;
Installing ri documentation for activerecord-2.3.5&#8230;
Installing ri documentation for rack-1.0.1&#8230;
Installing ri documentation for actionpack-2.3.5&#8230;
Installing ri documentation for actionmailer-2.3.5&#8230;
Installing ri documentation for activeresource-2.3.5&#8230;
Installing ri documentation for rails-2.3.5&#8230;
Updating [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dusike.com/pm-redmine/">http://www.dusike.com/pm-redmine/</a></p>
<p>上次部署是在windows下的installrails环境的，由于此环境一直没有更新，今天发现一个新的windows下的运行环境rubyinstaller，所以就来一试。</p>
<p>数据库直接借用我本机的xampp中的mysql</p>
<p>1.下载Ruby独立安装包</p>
<div>https://rubyforge.org/frs/?group_id=167</div>
<p>         下载RubyInstaller下exe格式的安装包,建议不要是最新，建议1.87。</p>
<p>2.打开Ruby独立安装包，直接安装，安装完打开命令提示符<br />
输入</p>
<div>
<div>ruby -v</div>
<div>如果显示Ruby的版本号就安装成功了<br />
然后安装Rails<br />
接着输入</div>
<div>
<div>gem install rails</div>
</div>
<p>等它自动下载安装</p>
<div>
<div>Successfully installed rake-0.8.7<br />
Successfully installed activesupport-2.3.5<br />
Successfully installed activerecord-2.3.5<br />
Successfully installed rack-1.0.1<br />
Successfully installed actionpack-2.3.5<br />
Successfully installed actionmailer-2.3.5<br />
Successfully installed activeresource-2.3.5<br />
Successfully installed rails-2.3.5<br />
8 gems installed<br />
Installing ri documentation for rake-0.8.7&#8230;<br />
Installing ri documentation for activesupport-2.3.5&#8230;<br />
Installing ri documentation for activerecord-2.3.5&#8230;<br />
Installing ri documentation for rack-1.0.1&#8230;<br />
Installing ri documentation for actionpack-2.3.5&#8230;<br />
Installing ri documentation for actionmailer-2.3.5&#8230;<br />
Installing ri documentation for activeresource-2.3.5&#8230;<br />
Installing ri documentation for rails-2.3.5&#8230;<br />
Updating class cache with 0 classes&#8230;<br />
Installing RDoc documentation for rake-0.8.7&#8230;<br />
Installing RDoc documentation for activesupport-2.3.5&#8230;<br />
Installing RDoc documentation for activerecord-2.3.5&#8230;<br />
Installing RDoc documentation for rack-1.0.1&#8230;<br />
Installing RDoc documentation for actionpack-2.3.5&#8230;<br />
Installing RDoc documentation for actionmailer-2.3.5&#8230;<br />
Installing RDoc documentation for activeresource-2.3.5&#8230;<br />
Installing RDoc documentation for rails-2.3.5&#8230;</div>
</div>
<p>再执行这个</p>
<p>gem install  -v=1.0.1 rack</p>
<p>完了<br />
还要安装MySQL gem<br />
输入</p>
<div>
<div>gem install mysql</div>
<div>3.把MySQL\bin文件夹的libmySQL.dll复制到独立安装的Ruby\bin文件夹里面</div>
<div>这样整个环境都安装完了</div>
<div><strong>4、下载Redmine压缩包 (redmine-1.0.1.zip)<br />
</strong>下载地址 <a href="http://rubyforge.org/frs/?group_id=1850" target="_blank">http://rubyforge.org/frs/?group_id=1850 </a></div>
<p>解压并进入解压后目录的目录，将config/database.yml.example 重命名为 config/database.yml，<br />
并修改链接数据库所需要的参数，以下是修改信息，加粗部分是修改的内容：</p>
<pre>production:
  adapter: mysql
  database: redmine
  host: localhost
  username: <strong>redmine</strong>

  password: <strong>redmine</strong>

  encoding: utf8</pre>
</div>
<div>
<div>
<li><strong>生成session密钥，执行数据迁移并载入Redmine默认配置<br />
</strong></li>
</div>
<pre>进入redmine目录</pre>
<pre>set RAILS_ENV=production
rake config/initializers/session_store.rb
rake db:migrate
rake redmine:load_default_data</pre>
<p>如果出现以下异常：</p>
<pre>Mysql::Error: query: not connected: CREATE TABLE 'schema_migrations' ('version varchar(255) NOT NULL) ENGINE=InnoDB</pre>
<p>说明需要添加MySQL的动态链接库文件 libmySQL.dll</p>
<ol>
<li>下载地址 <a href="http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll" target="_blank">http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll </a></li>
<li>然后后把libmySQL.dll复制到 Ruby/bin/目录下（你安装rubyinstaller的目录）</li>
</ol>
<li><strong>至此，Redmine安装已经完毕，下面用Redmine自带的Webrick服务器运行Redmine，测试是否安装成功</strong><br />
在Redmine的根目录输入命令</li>
</div>
<pre> ruby script/server</pre>
<p>打开浏览器，输入 http://localhost:3000 如果页面正常显示，则说明已经成功安装。</p>
<p>部署ROR开发环境，可以参考<a href="http://ihower.tw/rails3/firststep.html">http://ihower.tw/rails3/firststep.html</a></p>
</div>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/zaicibushushenzhirorrubyrailsdexiangmuguanliruanjianredmine/">再次部署基于ROR，Ruby&#038;Rails的项目管理软件Redmine</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/zaicibushushenzhirorrubyrailsdexiangmuguanliruanjianredmine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zend Optimizer不能安装部署在最新wamp,xampp上</title>
		<link>http://www.dusike.com/zendoptimizerbunenganzhuangbushuzaizuixinwampxamppshang/</link>
		<comments>http://www.dusike.com/zendoptimizerbunenganzhuangbushuzaizuixinwampxamppshang/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 07:04:48 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2252</guid>
		<description><![CDATA[经常在windows上测试php程序，以前用的是wamp集成包，没有遇到zend optimizer安装不成功
后来wamp升级到2.0i，再安装zend optimizer总是无效
我再试最新xampp1.73同样也是，且以前xampp是自带的zend optimizer,只要开启一下就可以了。
开始以为是我的机器有问题，多次尝试，仍未果
我只好安装xampp1.70
将e:\xampp\apache\bin\php.ini
中的zend_optimizer.enable_loader = 0改成1，重启xampp, 一切OK
由于测试比较急，没有去追究最新版本安装zend optimizer不成功的原因&#8230;
另外，我测试程序还需要进行虚拟设置，于是进行了如下操作
打开 e:\xampp\apache\conf\extra\httpd-vhosts.conf
去消NameVirtualHost *:80的注释
添加以下两部分
&#60;VirtualHost *:80&#62;
DocumentRoot &#8220;e:/xampp/htdocs&#8221;
ServerName localhost
&#60;/VirtualHost&#62;
##上面这部分，确保xampp管理程序能够使用
&#60;VirtualHost *:80&#62;
DocumentRoot &#8220;e:/xampp/htdocs/www&#8221;
ServerName www.yicike.com
&#60;/VirtualHost&#62;
###这里就是我们的应用

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: zend Optimizer不能安装部署在最新wamp,xampp上

]]></description>
			<content:encoded><![CDATA[<p>经常在windows上测试php程序，以前用的是wamp集成包，没有遇到zend optimizer安装不成功</p>
<p>后来wamp升级到2.0i，再安装zend optimizer总是无效</p>
<p>我再试最新xampp1.73同样也是，且以前xampp是自带的zend optimizer,只要开启一下就可以了。</p>
<p>开始以为是我的机器有问题，多次尝试，仍未果</p>
<p>我只好安装xampp1.70</p>
<p>将e:\xampp\apache\bin\php.ini</p>
<p>中的zend_optimizer.enable_loader = 0改成1，重启xampp, 一切OK</p>
<p>由于测试比较急，没有去追究最新版本安装zend optimizer不成功的原因&#8230;</p>
<p>另外，我测试程序还需要进行虚拟设置，于是进行了如下操作</p>
<p>打开 e:\xampp\apache\conf\extra\httpd-vhosts.conf</p>
<p>去消NameVirtualHost *:80的注释</p>
<p>添加以下两部分</p>
<p>&lt;VirtualHost *:80&gt;<br />
DocumentRoot &#8220;e:/xampp/htdocs&#8221;<br />
ServerName localhost<br />
&lt;/VirtualHost&gt;</p>
<p>##上面这部分，确保xampp管理程序能够使用</p>
<p>&lt;VirtualHost *:80&gt;<br />
DocumentRoot &#8220;e:/xampp/htdocs/www&#8221;<br />
ServerName <a href="http://www.yicike.com">www.yicike.com</a><br />
&lt;/VirtualHost&gt;</p>
<p>###这里就是我们的应用
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/zendoptimizerbunenganzhuangbushuzaizuixinwampxamppshang/">zend Optimizer不能安装部署在最新wamp,xampp上</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/zendoptimizerbunenganzhuangbushuzaizuixinwampxamppshang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>推荐一个代码托管的平台Github</title>
		<link>http://www.dusike.com/tuijianyigedaimatuoguandepingtaigithub/</link>
		<comments>http://www.dusike.com/tuijianyigedaimatuoguandepingtaigithub/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 23:30:53 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[软件推荐]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2249</guid>
		<description><![CDATA[Git是一个分布式的版本控制系统，最初由Linus Torvalds编写，用作Linux内核代码的管理。在推出後，Git在其它项目中也取得了很大成功，尤其是在Ruby社区中。目前，包括Rubinius和Merb在内的很多知名项目都使用了Git。Git同样可以被诸如Capistrano和Vlad the Deployer这样的部署工具所使用。
GitHub可以托管各种git库，并提供一个web界面，但与其它像 SourceForge或Google Code这样的服务不同，GitHub的独特卖点在于从另外一个项目进行分支的简易性。为一个项目贡献代码非常简单︰首先点击项目站点的“fork”的按 钮，然後将代码检出并将修改加入到刚才分出的代码库中，最後通过内建的“pull request”机制向项目负责人申请代码合并。已经有人将GitHub称为代码玩家的MySpace︰ 　　在GitHub进行分支就像在Myspace（或Facebook [...]）进行交友一样，在社会关系图的节点中不断的连线。

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 推荐一个代码托管的平台Github

]]></description>
			<content:encoded><![CDATA[<p>Git是一个分布式的版本控制系统，最初由Linus Torvalds编写，用作Linux内核代码的管理。在推出後，Git在其它项目中也取得了很大成功，尤其是在Ruby社区中。目前，包括Rubinius和Merb在内的很多知名项目都使用了Git。Git同样可以被诸如Capistrano和Vlad the Deployer这样的部署工具所使用。</p>
<p>GitHub可以托管各种git库，并提供一个web界面，但与其它像 SourceForge或Google Code这样的服务不同，GitHub的独特卖点在于从另外一个项目进行分支的简易性。为一个项目贡献代码非常简单︰首先点击项目站点的“fork”的按 钮，然後将代码检出并将修改加入到刚才分出的代码库中，最後通过内建的“pull request”机制向项目负责人申请代码合并。已经有人将GitHub称为代码玩家的MySpace︰ 　　在GitHub进行分支就像在Myspace（或Facebook [...]）进行交友一样，在社会关系图的节点中不断的连线。
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/tuijianyigedaimatuoguandepingtaigithub/">推荐一个代码托管的平台Github</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/tuijianyigedaimatuoguandepingtaigithub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>很想玩玩ROR,Ruby on rails</title>
		<link>http://www.dusike.com/henxiangwanwanrorrubyonrails/</link>
		<comments>http://www.dusike.com/henxiangwanwanrorrubyonrails/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 23:27:32 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[软件推荐]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2247</guid>
		<description><![CDATA[http://rubyonrails.org/
http://rubyonrailscn.org/ 
教程：http://developer.51cto.com/art/201007/215101.htm
建议开发工具：3rdRail

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 很想玩玩ROR,Ruby on rails

]]></description>
			<content:encoded><![CDATA[<p><a href="http://rubyonrails.org/">http://rubyonrails.org/</a></p>
<p><a href="http://rubyonrailscn.org/">http://rubyonrailscn.org/</a> </p>
<p>教程：<a href="http://developer.51cto.com/art/201007/215101.htm">http://developer.51cto.com/art/201007/215101.htm</a></p>
<p>建议开发工具：3rdRail
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/henxiangwanwanrorrubyonrails/">很想玩玩ROR,Ruby on rails</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/henxiangwanwanrorrubyonrails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>找到一个wordpress论坛插件Simple:Press</title>
		<link>http://www.dusike.com/zhaodaoyigewordpressluntanchajiansimplepress/</link>
		<comments>http://www.dusike.com/zhaodaoyigewordpressluntanchajiansimplepress/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 23:12:00 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[软件推荐]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2245</guid>
		<description><![CDATA[Simple:Press
http://simple-press.com/

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 找到一个wordpress论坛插件Simple:Press

]]></description>
			<content:encoded><![CDATA[<p>Simple:Press</p>
<p><a href="http://simple-press.com/">http://simple-press.com/</a>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/zhaodaoyigewordpressluntanchajiansimplepress/">找到一个wordpress论坛插件Simple:Press</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/zhaodaoyigewordpressluntanchajiansimplepress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我遇到的奇怪的HTTP500及解决</title>
		<link>http://www.dusike.com/woyudaodeqiguaidehttp500jijiejue/</link>
		<comments>http://www.dusike.com/woyudaodeqiguaidehttp500jijiejue/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 14:29:55 +0000</pubDate>
		<dc:creator>LEO</dc:creator>
				<category><![CDATA[系统管理]]></category>

		<guid isPermaLink="false">http://www.dusike.com/?p=2181</guid>
		<description><![CDATA[刚为公司成功部署了18返利网，可是今天为在测试服务再次部署时，却总不能成功，检查各种环境，折腾了半天就是找不到原因，甚至网站后台都能够进去，就是首页报出HTTP500错误。
实在想不出会是什么原因了，无奈之下，把整个文件夹的权限设置为777
chmod -R 777 18fanli.com
结果就好了，这下算是明白原因了，可能程序第一次运行时，一定要向某个目录写入缓存文件，结果权限不够，写不成功，所以网站访问不了，这应该算程序上的一个BUG.
由此我想到，这程序如果在linux下安装同样会遇到安装不成功的可能，测试一下，果真如此。
以后遇到安装不成功，或者第一次访问不了，出现HTTP500时，别忘记很有可能是某个目录没有权限导致的。

原创文章，转载请注明： 转载自亿赐客比较购物搜索网
本文链接地址: 我遇到的奇怪的HTTP500及解决

]]></description>
			<content:encoded><![CDATA[<p>刚为公司成功部署了<a href="http://www.18fanli.com">18返利网</a>，可是今天为在测试服务再次部署时，却总不能成功，检查各种环境，折腾了半天就是找不到原因，甚至网站后台都能够进去，就是首页报出HTTP500错误。</p>
<p>实在想不出会是什么原因了，无奈之下，把整个文件夹的权限设置为777</p>
<p>chmod -R 777 18fanli.com</p>
<p>结果就好了，这下算是明白原因了，可能程序第一次运行时，一定要向某个目录写入缓存文件，结果权限不够，写不成功，所以网站访问不了，这应该算程序上的一个BUG.</p>
<p>由此我想到，这程序如果在linux下安装同样会遇到安装不成功的可能，测试一下，果真如此。</p>
<p>以后遇到安装不成功，或者第一次访问不了，出现HTTP500时，别忘记很有可能是某个目录没有权限导致的。
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://www.yicike.com/">亿赐客比较购物搜索网</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.dusike.com/woyudaodeqiguaidehttp500jijiejue/">我遇到的奇怪的HTTP500及解决</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dusike.com/woyudaodeqiguaidehttp500jijiejue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
