<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Pierre (Entries tagged as apache2)</title>
    <link>http://blog.thepimp.net/</link>
    <description>Moving Pixels</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Sun, 09 Mar 2008 18:21:07 GMT</pubDate>

    <image>
        <url>http://blog.thepimp.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Pierre - Moving Pixels</title>
        <link>http://blog.thepimp.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Windows fixes release for Zip, fopen(,&quot;rb&quot;) may not be binary safe</title>
    <link>http://blog.thepimp.net/archives/Windows-fixes-release-for-Zip,-fopen,rb-may-not-be-binary-safe.html</link>
            <category>PHP</category>
    
    <comments>http://blog.thepimp.net/archives/Windows-fixes-release-for-Zip,-fopen,rb-may-not-be-binary-safe.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=147</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=147</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;This release is mostly for windows users using other &lt;span class=&quot;caps&quot;&gt;SAPI&lt;/span&gt; than &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt; or (F)&lt;span class=&quot;caps&quot;&gt;CGI&lt;/span&gt;. The bug is fixed in &lt;span class=&quot;caps&quot;&gt;CVS&lt;/span&gt; already but I was lacking the time to release it. Pecl4win providing snapshots, it is half of a problem &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; &lt;p&gt;The issue is actually a windows bug. No matter if I give or not the &amp;quot;b&amp;quot; flag to fopen, the write operations are not binary safe. It seems to be a known issue as many projects use the same trick:&lt;/p&gt; 

	&lt;p&gt;&lt;pre class=&quot;c&quot; style=&quot;text-align: left;&quot;&gt; _setmode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;_fileno&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;tfp&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;, _O_BINARY &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt; &lt;p&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; is forcing the binary mode in &lt;span class=&quot;caps&quot;&gt;SAPI&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;, that&amp;#8217;s why the problem was not that easy to reproduce (apache or &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; debuggin on windows was not really my cup of tea &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;.&lt;/p&gt; &lt;p&gt;I was trying to find some reference or bug reports about this issue but without much success, so far only people complaining about windows broken fopen. If anyone has detailed informations about this issue, please let me know.&lt;/p&gt; &lt;p&gt;As always you can fetch the DLLs from &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net/ext.php/php_zip.dll&#039;);&quot;  href=&quot;http://pecl4win.php.net/ext.php/php_zip.dll&quot;&gt;pecl4win&lt;/a&gt; or &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/zip&#039;);&quot;  href=&quot;http://pecl.php.net/zip&quot;&gt;PECL&lt;/a&gt;.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Full &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package-changelog.php?package=zip&amp;amp;amp;release=1.8.1&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=zip&amp;amp;release=1.8.1&quot;&gt;changelog&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/zip&#039;);&quot;  href=&quot;http://pecl.php.net/get/zip&quot;&gt;Download&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 28 Nov 2006 02:45:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/147.html</guid>
    <category>apache2</category>
<category>binary</category>
<category>iis</category>
<category>pecl</category>
<category>php</category>
<category>zip</category>

</item>
<item>
    <title>Zip 1.7.1  or how to make apache2 users happier</title>
    <link>http://blog.thepimp.net/archives/Zip-1.7.1-or-how-to-make-apache2-users-happier.html</link>
            <category>PHP</category>
    
    <comments>http://blog.thepimp.net/archives/Zip-1.7.1-or-how-to-make-apache2-users-happier.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=122</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=122</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;Zip 1.7.1 has been released today, it fixes a little but annoying issue with relative paths in threaded environment (like in some apache2 or &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; sapi). As a work around one has had to pass absolute path to the open and addFile methods. This problem is now solved,  the real path is processed internally.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package/zip&#039;);&quot;  href=&quot;http://pecl.php.net/package/zip&quot;&gt;Zip Homepage&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package-changelog.php?package=zip&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=zip&quot;&gt;Changelog&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Thu, 24 Aug 2006 20:29:33 +0200</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/122.html</guid>
    <category>apache2</category>
<category>PECL</category>
<category>PHP</category>
<category>relative-path</category>
<category>zip</category>

</item>

</channel>
</rss>