<?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 iis)</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>Mon, 11 Jun 2007 06:02:00 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>how to generate backtraces on windows without compiler</title>
    <link>http://blog.thepimp.net/archives/how-to-generate-backtraces-on-windows-without-compiler.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/how-to-generate-backtraces-on-windows-without-compiler.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=195</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;How to get a back trace on windows without having to compile &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; has been an impossible task for many of us. The difficulty was to first succeed to compile php (given that you have a visual C++ installed).  If you are in the middle of a bug hunting session, no need to say that setting up a windows build system is the last thing you like, especially if it is your first time. Thanks to &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/edin.dk/&#039;);&quot;  href=&quot;http://edin.dk/&quot;&gt;Edin&lt;/a&gt;&amp;#8216;s window binary and MS Diagnostic Debug , it is now possible to have a backtrace in a couple of clicks.&lt;/p&gt; &lt;p&gt;What we will need to continue:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;A &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/snaps.php.net/&#039;);&quot;  href=&quot;http://snaps.php.net/&quot;&gt;snapshot&lt;/a&gt; or &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.php.net/downloads.php&#039;);&quot;  href=&quot;http://www.php.net/downloads.php&quot;&gt;stable&lt;/a&gt; release&lt;/li&gt; &lt;li&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/snaps.php.net/&#039;);&quot;  href=&quot;http://snaps.php.net/&quot;&gt;Debug pack (snapshot&lt;/a&gt; or stable &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/php.net/get/php-debug-pack-5.2.3-Win32.zip/from/a/mirror&#039;);&quot;  href=&quot;http://php.net/get/php-debug-pack-5.2.3-Win32.zip/from/a/mirror&quot;&gt;thread safe&lt;/a&gt; or &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/php.net/get/php-debug-pack-5.2.3-nts-Win32.zip/from/a/mirror&#039;);&quot;  href=&quot;http://php.net/get/php-debug-pack-5.2.3-nts-Win32.zip/from/a/mirror&quot;&gt;non thread safe&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Microsoft &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&amp;amp;amp;displaylang=en&#039;);&quot;  href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&amp;amp;displaylang=en&quot;&gt;Debug Diagnostic Tools&lt;/a&gt;&lt;/li&gt; &lt;li&gt;One evil script to crash &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;, the one in the bug &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/bugs.php.net/bug.php?id=39346&#039;);&quot;  href=&quot;http://bugs.php.net/bug.php?id=39346&quot;&gt;39346&lt;/a&gt; is evil enough &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;/li&gt; &lt;/ul&gt; &lt;p&gt;For the sake of this example, we will simply use &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; in the shell. The same method can be used for &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; or any other process or services.&lt;/p&gt; &lt;p&gt;Once you have installed the Debug diagnostic tools and uncompressed &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; and its debug pack (they can be kept in two separate folders), the first step is to configure the diagnostic tools. Select the tools menu and click on &amp;quot;Options and settings&amp;quot;. The first tab contains the path to the symbols files, add the &amp;quot;debug folder&amp;quot; to the existing list using the &amp;quot;browse&amp;quot; button:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/dbg_options.png&quot; alt=&quot;Options&quot; /&gt;&lt;/p&gt; &lt;p&gt;Now we are ready to generate our backtrace.&lt;/p&gt; &lt;p&gt;We will use the wizard, click the &amp;quot;Add a rule&amp;quot; button and choose &amp;quot;Crash&amp;quot; as the rule type:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/dbg_wizard_1.png&quot; alt=&quot;Wizard #1&quot; /&gt;&lt;/p&gt; &lt;p&gt;In the next window, select &amp;quot;a specific process&amp;quot;:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/dbg_wizard_2.png&quot; alt=&quot;Wizard #2&quot; /&gt;&lt;/p&gt; &lt;p&gt;Add a  &amp;quot;sleep(10);&amp;quot; for the first run (from the cmd: &amp;quot;php.exe crashme.php&amp;quot;), it will let you enough time to click &amp;quot;next&amp;quot; and select the php process:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/dbg_select_php.png&quot; alt=&quot;Select the php process&quot; /&gt;&lt;/p&gt; &lt;p&gt;Click again next and let it crash. If everything went well, you should see your new rule as shown in the image below:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/.db_rule_list_m.jpg&quot; alt=&quot;rules list&quot; /&gt;&lt;/p&gt; &lt;p&gt;It also detected that &amp;quot;php.exe&amp;quot; was used. A rule has been created for all instance of &amp;quot;php.exe&amp;quot;. It will save you the sleep and process selection.&lt;/p&gt; &lt;p&gt;Now you can click the &amp;quot;Analyze data&amp;quot; button:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/.dbg_analyze_m.jpg&quot; alt=&quot;Analyze&quot; /&gt;&lt;/p&gt; &lt;p&gt;Et voila, the complete report will show up in your internet explorer (compressed html):&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/dbg_report.png&quot;&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/phpwinbacktrace/.dbg_report_m.jpg&quot; alt=&quot;Debug report backtrace screenshot&quot; /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;As &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; internals developer, what we need is the backtrace itself, you can find it under &amp;quot;Thread X &amp;#8211; System ID XXX&amp;quot;.&lt;/p&gt; &lt;p&gt;The &lt;span class=&quot;caps&quot;&gt;DDT&lt;/span&gt; can be used to hunt leaks and memory handles, but it will quickly reach its limit. A real debugger and compiler will be required to actually fix the issues. But it is a real progress, I hope it will help you to help us to improve &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; on windows!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 11 Jun 2007 08:02:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/195.html</guid>
    <category>backtrace</category>
<category>Debug-Diagnostic-Tools</category>
<category>IIS</category>
<category>PECL</category>
<category>PHP</category>
<category>visual-C</category>
<category>windows</category>

</item>
<item>
    <title>Initial PHP4 support for htscanner</title>
    <link>http://blog.thepimp.net/archives/Initial-PHP4-support-for-htscanner.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/Initial-PHP4-support-for-htscanner.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=188</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;The first releases of the new 0.8.x have published earlier this week (0.8.1 is the latest). The main change is the full support of PHP4. I will support it as long as &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;.net maintains it. The ability to keep htscanner loaded while using &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt; is now possible without having to tweak the configuration (useful if you use a single php.ini for both cli and cgi).&lt;/p&gt; &lt;p&gt;I like to  thank to &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.widexs.nl&#039;);&quot;  href=&quot;http://www.widexs.nl&quot;&gt;widexs.nl&lt;/a&gt;, they make PHP4 support possible by sponsoring it.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/get/htscanner&quot;&gt;get htscanner&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.widexs.nl&#039;);&quot;  href=&quot;http://www.widexs.nl&quot;&gt;widexs.nl&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Fri, 23 Mar 2007 13:18:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/188.html</guid>
    <category>cgi</category>
<category>fastcgi</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>PECL</category>
<category>PHP</category>
<category>php4</category>
<category>sponsor</category>
<category>widexs.nl</category>

</item>
<item>
    <title>Howto use a single php.ini for cli or cgi with htscanner, use 0.7.0 or later :)</title>
    <link>http://blog.thepimp.net/archives/Howto-use-a-single-php.ini-for-cli-or-cgi-with-htscanner,-use-0.7.0-or-later.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/Howto-use-a-single-php.ini-for-cli-or-cgi-with-htscanner,-use-0.7.0-or-later.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=179</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;Htscanner reports error during module or request init (returns &lt;span class=&quot;caps&quot;&gt;FAILURE&lt;/span&gt;), these errors may be fatal and stop the current executions. This behavior is not desired if you use it in a shell ((if you have only one system php.ini for both cli and cgi or if htscanner is compiled statically).  This release brings a new ini settings to solve this problem, &lt;em&gt;stop_on_error&lt;/em&gt;.&lt;/p&gt; &lt;p&gt;When set to 1 htscanner returns a failure when an error occured internally (cache, doc_root missing, etc.). If it is et to 0 (the default) it will simply return &lt;span class=&quot;caps&quot;&gt;SUCCESS&lt;/span&gt; and do nothing. It is useful if you have only one php.ini for cli and cgi or if you compiled it staticaly.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/get/htscanner&quot;&gt;htscanner download&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner homepage&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 19 Feb 2007 11:46:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/179.html</guid>
    <category>cgi</category>
<category>CLI</category>
<category>fastcgi</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>PECL</category>
<category>PHP</category>
<category>php.ini</category>

</item>
<item>
    <title>htscanner, new release, ISP needs?</title>
    <link>http://blog.thepimp.net/archives/htscanner,-new-release,-ISP-needs.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/htscanner,-new-release,-ISP-needs.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=165</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;The 0.6.3 releases have two important fixes:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Possible erroneous ini value length have been fixed&lt;/li&gt; &lt;li&gt;The fatal errors have in module and request initialization have been replaced by warnings&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Thanks to Eugeny Zadevalov for the detailed reports. Eugeny sent patches to use htscanner in apache when mod_htaccess is active but without mod_php. You can find it in the &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt; file in the release archive or &lt;span class=&quot;caps&quot;&gt;CVS&lt;/span&gt;. We will try to keep this patch up to date.&lt;/p&gt; &lt;p&gt;He is working on making htscanner compatible with PHP4. I&amp;#8217;m not a fan of supporting dead branches (I consider PHP4 as dead) but if enough users need a PHP4 version, I can push the patches upstream. In the worst case, I will add them in the release and Eugeny can maintain them. Let me know what you need!&lt;/p&gt; &lt;p&gt;During the season holidays, I got a couple of mails from hosting company using fastcgi and planning to use htscanner. Having system configuration automatically set by htscanner (open basedir per vhost for ex.) but not editable by the users can help to use fastcgi for shared hosts. Are you an ISP? or simply provide hosting services and plan to give htscanner support to your users? Let me know what you need.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;Package Homepage&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/get/htscanner&quot;&gt;Package download&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=htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=htscanner&quot;&gt;Changelog&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 08 Jan 2007 16:59:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/165.html</guid>
    <category>apache</category>
<category>fastcgi</category>
<category>hosting</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>ISP</category>
<category>lighttpd</category>
<category>PECL</category>
<category>PHP</category>
<category>shared-host</category>

</item>
<item>
    <title>Htscanner 0.6.2 has been released</title>
    <link>http://blog.thepimp.net/archives/Htscanner-0.6.2-has-been-released.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/Htscanner-0.6.2-has-been-released.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=159</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;Yet another &lt;span class=&quot;caps&quot;&gt;PECL&lt;/span&gt; release, htscanner 0.6.2 is out. This release fixes a annoying but minor bug in the shutdown function. A new error message has been added when no translated path has been found.&lt;/p&gt; &lt;p&gt;I&amp;#8217;m wondering if a function to manually clear the cache for a given document root (like you can clear the cache for your document root only) can be useful. Let me know if you need it, I can add it before I freeze this extension until the first stable release.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner homepage&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/get/htscanner&quot;&gt;htscanner download&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 18 Dec 2006 02:51:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/159.html</guid>
    <category>fastcgi</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>PHP</category>
<category>shutdown</category>

</item>
<item>
    <title>htscanner 0.6.1</title>
    <link>http://blog.thepimp.net/archives/htscanner-0.6.1.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/htscanner-0.6.1.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=157</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;0.6.1 has just been released. It is a bug fixes release only. One leak and some string optimizations. See the full changelong &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package-changelog.php?package=htscanner&amp;amp;amp;release=0.6.1&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=htscanner&amp;amp;release=0.6.1&quot;&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner 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=htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=htscanner&quot;&gt;htscanner changelogs&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Wed, 13 Dec 2006 11:08:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/157.html</guid>
    <category>fastcgi</category>
<category>htscanner</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>PHP</category>

</item>
<item>
    <title>cache added to htscanner</title>
    <link>http://blog.thepimp.net/archives/cache-added-to-htscanner.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/cache-added-to-htscanner.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=155</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt; 0.6.0 has been released. It caches the ini settings instead of looking for htaccess files in the current directory and its parents. The performance impact is yet minimal.&lt;/p&gt; &lt;p&gt;A new ini setting defines the cache lifetime in seconds: htscanner.default_ttl, the default lifetime is 5mins.&lt;/p&gt; &lt;p&gt;Next step, bring this extension to a stable state before adding any new features.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner homepage&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Fri, 08 Dec 2006 02:40:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/155.html</guid>
    <category>cache</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>PHP</category>

</item>
<item>
    <title>htscanner, windows binaries available</title>
    <link>http://blog.thepimp.net/archives/htscanner,-windows-binaries-available.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/htscanner,-windows-binaries-available.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=151</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;A quick note about the &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt; windows binaries, they are now available on &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net&#039;);&quot;  href=&quot;http://pecl4win.php.net&quot;&gt;pecl4win&lt;/a&gt;. I will also try to run more tests on windows, especiallly &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; + fcgi.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net/ext.php/php_htscanner.dll&#039;);&quot;  href=&quot;http://pecl4win.php.net/ext.php/php_htscanner.dll&quot;&gt;htscanner dll&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Fri, 01 Dec 2006 13:39:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/151.html</guid>
    <category>binary</category>
<category>cgi</category>
<category>dll</category>
<category>fastcgi</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>pecl4win</category>
<category>PHP</category>

</item>
<item>
    <title>htscanner, htaccess-like for FastCGI or non apache SAPI</title>
    <link>http://blog.thepimp.net/archives/htscanner,-htaccess-like-for-FastCGI-or-non-apache-SAPI.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/htscanner,-htaccess-like-for-FastCGI-or-non-apache-SAPI.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=150</wfw:comment>

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

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;htscanner is an extension to emulate htaccess with non apache &lt;span class=&quot;caps&quot;&gt;SAPI&lt;/span&gt; like FastCGI. It was originally developed by &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/files.zoeloelip.be/htscanner/&#039;);&quot;  href=&quot;http://files.zoeloelip.be/htscanner/&quot;&gt;Bart Vanbrabant&lt;/a&gt; (Thanks to Runa@lighttpd on freenode for the head up, I did not know this extension until yesterday). It has the same advantages and disadvantages than Apache&amp;#8217;s htaccess, use it with cautions &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;Many &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.lighttpd.net&#039;);&quot;  href=&quot;http://www.lighttpd.net&quot;&gt;lighttpd&lt;/a&gt; users asked for such feature for &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;. After a quick test, I find it useful too and good enough to give it some love. As Bart does not maintain it anymore, I&amp;#8217;m taking the hand on it and will continue the developments via &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net&#039;);&quot;  href=&quot;http://pecl.php.net&quot;&gt;PECL&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;This release (0.5.0) contains a couple of additions and fixes, the most important are:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;safe mode and open_basedir checks&lt;/li&gt; &lt;li&gt;usage of &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; streams &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; instead of the std IO&lt;/li&gt; &lt;li&gt;fix a couple of bugs in threaded environments (like cwd detection)&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;It is still alpha, I did not run heavy tests now,  comments and feedbacks welcome.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;Package 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=htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=htscanner&quot;&gt;Changelog&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Thu, 30 Nov 2006 05:01:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/150.html</guid>
    <category>fastcgi</category>
<category>htaccess</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>PHP</category>

</item>
<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>

</channel>
</rss>