Xampp apache crashed php rar
<p>I have rar extensions installed on php using xampp go-pear</p>

<p>It shown in php info that rar is enabled.</p>

<p>My code is following</p>

<pre><code>&lt;?php
$rar_file = rar_open('htdocs.rar') or die("Can't open Rar archive");

$entries = rar_list($rar_file);

foreach ($entries as $entry) {
    echo 'Filename: ' . $entry-&gt;getName() . "\n";
    echo 'Packed size: ' . $entry-&gt;getPackedSize() . "\n";
    echo 'Unpacked size: ' . $entry-&gt;getUnpackedSize() . "\n";

    $entry-&gt;extract('C:/xampp/htdocs');
}

rar_close($rar_file);

?&gt;
</code></pre>

<p>rar_open causes apache to crash. if i comment out rar_open, apache wont crash and run as normal.</p>

<p>Anyone know what make it crash?</p>

<p>Thanks</p>
