﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-灵魂-放水-随笔分类-PHP</title><link>http://www.blogjava.net/zqli/category/49416.html</link><description>为学日益，为道日损。</description><language>zh-cn</language><lastBuildDate>Wed, 02 Nov 2011 04:19:59 GMT</lastBuildDate><pubDate>Wed, 02 Nov 2011 04:19:59 GMT</pubDate><ttl>60</ttl><item><title>XAMPP apache启动后，键入localhost浏览器长时间显示等待。</title><link>http://www.blogjava.net/zqli/archive/2011/11/01/362451.html</link><dc:creator>放水老倌</dc:creator><author>放水老倌</author><pubDate>Tue, 01 Nov 2011 08:13:00 GMT</pubDate><guid>http://www.blogjava.net/zqli/archive/2011/11/01/362451.html</guid><wfw:comment>http://www.blogjava.net/zqli/comments/362451.html</wfw:comment><comments>http://www.blogjava.net/zqli/archive/2011/11/01/362451.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/zqli/comments/commentRss/362451.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/zqli/services/trackbacks/362451.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 今天在XAMPP下启动apache时，启动成功，但无法访问localhost。解决过程如下：<br />&nbsp;&nbsp;&nbsp;&nbsp; 1、怀疑是杀毒软件或者防护软件更新之后阻止了localhost的访问，尝试停止以上两者之后，依旧无法访问。<br />&nbsp;&nbsp;&nbsp;&nbsp; 2、怀疑之前安装某软件的过程中，修改了winsock的相关东东，于是在cmd下键入：netsh winsock reset。<br />&nbsp;&nbsp;&nbsp;&nbsp; 3、重启之后，启动apache，无法启动，表现为显示启动成功之后立即又停止。<br />&nbsp;&nbsp;&nbsp;&nbsp; 4、应该XAMPP apache的80端口被占，打开IIS查看，之前一直停止的IIS默认网站，在netsh winsock reset之后，被重新启动，导致占用80端口。<br />&nbsp;&nbsp;&nbsp;&nbsp; 至此，问题解决。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src ="http://www.blogjava.net/zqli/aggbug/362451.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zqli/" target="_blank">放水老倌</a> 2011-11-01 16:13 <a href="http://www.blogjava.net/zqli/archive/2011/11/01/362451.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Zend Studio 8.0+Zend debugger+XAMPP</title><link>http://www.blogjava.net/zqli/archive/2011/08/20/356944.html</link><dc:creator>放水老倌</dc:creator><author>放水老倌</author><pubDate>Sat, 20 Aug 2011 06:08:00 GMT</pubDate><guid>http://www.blogjava.net/zqli/archive/2011/08/20/356944.html</guid><wfw:comment>http://www.blogjava.net/zqli/comments/356944.html</wfw:comment><comments>http://www.blogjava.net/zqli/archive/2011/08/20/356944.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/zqli/comments/commentRss/356944.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/zqli/services/trackbacks/356944.html</trackback:ping><description><![CDATA[步骤：<br /><div><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">1</span><span style="font-size:10.5pt; font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、先下载</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">Zend Studio -8.0</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">ZendDebugger-v5.2-windows-i386.zip</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">XAMPP 1.7.1(php5.2.9);<br /> 2</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、分别安装</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">Zend Studio -8.0</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">和</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">xampp1.7.1;<br /> 3</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、从</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">ZendDebugger-v5.2-windows-i386.zip</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">中解压出来的</span><span style="font-size: 10.5pt;font-family:&quot;Times New Roman&quot;;">ZendDebugger-v5.2- cygwin_nt-i386\5_2_x_comp\ZendDebugger.dll</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;"></span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">；</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;"><br /> 4</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、修改</span><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;"><div>D:\Project\xampp\\php\php.ini<span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">中Zend debugger信息：</span><br /> </div></span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;"></span><div><br />[Zend Debugger]<br />zend_extension_ts = "D:\Project\PHP\zend\ZendDebugger-5.2.14RC9-cygwin_nt-i386\5_2_x_comp\ZendDebugger.dll"<br />zend_debugger.allow_hosts=127.0.0.1<br />zend_debugger.expose_remotely=always</div><span style="font-size: 10.5pt;font-family:&quot;Times New Roman&quot;;"><br /> 5</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、添加</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">ZendDebugger-v5.2- cygwin_nt-i386\dummy.php</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">文件到</span>D:\Project\xampp\htdocs下。<br /><br /><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">6</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、查看</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">phpinfo()</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">中</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">Zend Debuger</span><span style="font-size:10.5pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">信息</span><span style="font-size:10.5pt;font-family:&quot;Times New Roman&quot;;">;<br /><br /><div>This program makes use of the Zend Scripting Language Engine:<br />Zend&nbsp;Engine&nbsp;v2.2.0,&nbsp;Copyright&nbsp;(c)&nbsp;1998-2009&nbsp;Zend&nbsp;Technologies<br />&nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;Zend&nbsp;Debugger&nbsp;v5.2.14,&nbsp;Copyright&nbsp;(c)&nbsp;1999-2008,&nbsp;by&nbsp;Zend&nbsp;Technologies</div>表示成功安装Debugger。<br /><br /> 7</span><span style="font-size:10.5pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;;Times New Roman&quot;;">、打开Zend Studio8，将php project放到</span>D:\Project\xampp\htdocs<span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;">下，打开Window-&gt;Preferences-&gt;PHP-&gt;Debug：<br /><div align="center"><img src="http://www.blogjava.net/images/blogjava_net/zqli/zend1.jpg" alt="" height="467" width="625" border="0" /></div><br /><div align="center"><img src="http://www.blogjava.net/images/blogjava_net/zqli/zend2.jpg" alt="" height="589" width="625" border="0" /></div><br /><div align="center"><img src="http://www.blogjava.net/images/blogjava_net/zqli/zend3.jpg" alt="" height="758" width="625" border="0" /><br /></div></span><div align="left">8、配置完成，开始debugger。<br /><br />注：在Window-&gt;Web Browser里可以选择浏览器。</div><span style="font-size: 10.5pt; font-family: &quot;Times New Roman&quot;;"></span><span style="font-size: 10.5pt;font-family:&quot;Times New Roman&quot;;"><br /> <br /> </span></div><img src ="http://www.blogjava.net/zqli/aggbug/356944.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zqli/" target="_blank">放水老倌</a> 2011-08-20 14:08 <a href="http://www.blogjava.net/zqli/archive/2011/08/20/356944.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>