<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=PHP_Archive</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20981" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20384" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16904" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16192" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15202" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12320" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20981">
      <title>PHP_Archive: Documentation Problem 20981 [Open] User note that is a documentation problem</title>
      <link>http://pear.php.net/bugs/20981</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Documentation Problem
Reported by doconnor
2015-11-10T08:17:01+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Manual page: package.php.php-archive.intro.php
Note submitter:
contact at creativesparkstudios dot com

Just noticed that the example usage link doesn\'t seem to work: http://cvs.php.net/viewvc.cgi/pear-core/make-gopear-phar.php\r\n</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Documentation Problem
Reported by doconnor
2015-11-10T08:17:01+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Manual page: package.php.php-archive.intro.php
Note submitter:
contact at creativesparkstudios dot com

Just noticed that the example usage link doesn\'t seem to work: http://cvs.php.net/viewvc.cgi/pear-core/make-gopear-phar.php\r\n</pre>]]></description>
      <dc:date>2015-11-10T08:17:01+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Archive Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20384">
      <title>PHP_Archive: Bug 20384 [Open] Configure: error: GD build test failed. please check the config.log for details</title>
      <link>http://pear.php.net/bugs/20384</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Bug
Reported by chd010100b004
2014-09-02T13:51:38+00:00
PHP: 5.4.12 OS: linux Package Version: Unknown

Description:
------------
Scenario 1: When i am running the below configure command as:

./configure --with-apxs2=/opt/applications/apache/bin/apxs --with-config-file-path=/etc --with-mysql --with-libdir=lib64 --with-zlib --with-gettext --with-gdbm --with-openssl --with-curl --enable-ftp --disable-debug --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-wddx=shared --enable-xml --with-gd --with-regex=system --with-jpeg-dir=lib64 --with-ldap=/usr --enable-dom --with-png-dir=lib64 --with-mysqli=mysqlnd --enable-zip --with-pdo-mysql --enable-soap --with-xsl=/usr --with-freetype-dir=/usr --with-ttf=/usr

then i am getting the error as: Configure: error: GD build test failed. please check the config.log for details

Scenario2: When i execute the command as:
./configure --with-apxs2=/opt/applications/apache/bin/apxs --with-config-file-path=/etc --with-gd

it executes successfully.

Can someone please let me know how i can resolve the issue in Scenario1. A quick help will be highly appreciated.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Bug
Reported by chd010100b004
2014-09-02T13:51:38+00:00
PHP: 5.4.12 OS: linux Package Version: Unknown

Description:
------------
Scenario 1: When i am running the below configure command as:

./configure --with-apxs2=/opt/applications/apache/bin/apxs --with-config-file-path=/etc --with-mysql --with-libdir=lib64 --with-zlib --with-gettext --with-gdbm --with-openssl --with-curl --enable-ftp --disable-debug --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-wddx=shared --enable-xml --with-gd --with-regex=system --with-jpeg-dir=lib64 --with-ldap=/usr --enable-dom --with-png-dir=lib64 --with-mysqli=mysqlnd --enable-zip --with-pdo-mysql --enable-soap --with-xsl=/usr --with-freetype-dir=/usr --with-ttf=/usr

then i am getting the error as: Configure: error: GD build test failed. please check the config.log for details

Scenario2: When i execute the command as:
./configure --with-apxs2=/opt/applications/apache/bin/apxs --with-config-file-path=/etc --with-gd

it executes successfully.

Can someone please let me know how i can resolve the issue in Scenario1. A quick help will be highly appreciated.</pre>]]></description>
      <dc:date>2014-09-02T13:51:38+00:00</dc:date>
      <dc:creator>chd010100b004 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Archive Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16904">
      <title>PHP_Archive: Bug 16904 [Open] Phar generated phars don't load with PHP_Archive</title>
      <link>http://pear.php.net/bugs/16904</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Bug
Reported by miquelfire
2009-12-15T12:07:43+00:00
PHP: 5.2.5 OS: Any Package Version: 0.11.4

Description:
------------
In trying to create phars that can run without the Phar extensions (systems running 5.2 mainly), I decided to use PHP_Archive to load phars.

In my test, the first phar loaded is created with PHP_Archive_Creator, so that phar loads the PHP_Archive class already. Using phar, I made a second phar, and using setstub, I reused the code that appeared to be needed to load a phar (basically, removed the code for PHP_Archive class, but left the rest)

This results in a manifest misread some how (example error included)

Currently, it seems if I want to support the 5.2 crowd, I need to use PHP_Archive_Creator to create all phars, and have too much redundant code in the beginning.

Actual result:
--------------
ERROR: manifest length read was &quot;147&quot; should be &quot;1095262047&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Bug
Reported by miquelfire
2009-12-15T12:07:43+00:00
PHP: 5.2.5 OS: Any Package Version: 0.11.4

Description:
------------
In trying to create phars that can run without the Phar extensions (systems running 5.2 mainly), I decided to use PHP_Archive to load phars.

In my test, the first phar loaded is created with PHP_Archive_Creator, so that phar loads the PHP_Archive class already. Using phar, I made a second phar, and using setstub, I reused the code that appeared to be needed to load a phar (basically, removed the code for PHP_Archive class, but left the rest)

This results in a manifest misread some how (example error included)

Currently, it seems if I want to support the 5.2 crowd, I need to use PHP_Archive_Creator to create all phars, and have too much redundant code in the beginning.

Actual result:
--------------
ERROR: manifest length read was &quot;147&quot; should be &quot;1095262047&quot;</pre>]]></description>
      <dc:date>2009-12-15T12:07:43+00:00</dc:date>
      <dc:creator>miquelfire &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Archive Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16192">
      <title>PHP_Archive: Feature/Change Request 16192 [Open] Bad URL rewrite in PHP_Archive::webFrontController</title>
      <link>http://pear.php.net/bugs/16192</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Feature/Change Request
Reported by madmind
2009-05-07T01:52:37+00:00
PHP: 5.2.9 OS: Windows Package Version: 0.11.4

Description:
------------
The problem is that webFrontController rewrites all URI, not just the part after .phar file. Here is a trace for
http://dev.mad.lan/QuizStats/quiz_stats.phar/
where it should show me the index.php from .phar file, but instead it searces for QuizStats/, that is wrong.

    0.1217     551240     -&gt; PHP_Archive::webFrontController($initfile = 'index.php') D:\Server\sites\dev\QuizStats\quiz_stats.phar:1232
    0.1217     553600       -&gt; parse_url('/QuizStats/quiz_stats.phar/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:270
                             &gt;=&gt; array ('path' =&gt; '/QuizStats/quiz_stats.phar/')
    0.1218     553440       -&gt; realpath('D:/Server/sites/dev/QuizStats/quiz_stats.phar') D:\Server\sites\dev\QuizStats\quiz_stats.phar:271
                             &gt;=&gt; 'D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar'
    0.1219     553560       -&gt; basename('D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar') D:\Server\sites\dev\QuizStats\quiz_stats.phar:272
                             &gt;=&gt; 'quiz_stats.phar'
    0.1220     553576       -&gt; str_replace('/quiz_stats.phar', '', '/QuizStats/quiz_stats.phar/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:272
                             &gt;=&gt; '/QuizStats/'
    0.1220     553400       -&gt; substr('/QuizStats/', 1) D:\Server\sites\dev\QuizStats\quiz_stats.phar:282
                             &gt;=&gt; 'QuizStats/'
    0.1221     553336       -&gt; PHP_Archive::_fileExists($archive = 'D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar', $path = 'QuizStats/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:282
                             &gt;=&gt; FALSE
    0.1221     553544       -&gt; header('HTTP/1.0 404 Not Found') D:\Server\sites\dev\QuizStats\quiz_stats.phar:283
                             &gt;=&gt; NULL
                           &gt;=&gt; FALSE</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Feature/Change Request
Reported by madmind
2009-05-07T01:52:37+00:00
PHP: 5.2.9 OS: Windows Package Version: 0.11.4

Description:
------------
The problem is that webFrontController rewrites all URI, not just the part after .phar file. Here is a trace for
http://dev.mad.lan/QuizStats/quiz_stats.phar/
where it should show me the index.php from .phar file, but instead it searces for QuizStats/, that is wrong.

    0.1217     551240     -&gt; PHP_Archive::webFrontController($initfile = 'index.php') D:\Server\sites\dev\QuizStats\quiz_stats.phar:1232
    0.1217     553600       -&gt; parse_url('/QuizStats/quiz_stats.phar/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:270
                             &gt;=&gt; array ('path' =&gt; '/QuizStats/quiz_stats.phar/')
    0.1218     553440       -&gt; realpath('D:/Server/sites/dev/QuizStats/quiz_stats.phar') D:\Server\sites\dev\QuizStats\quiz_stats.phar:271
                             &gt;=&gt; 'D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar'
    0.1219     553560       -&gt; basename('D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar') D:\Server\sites\dev\QuizStats\quiz_stats.phar:272
                             &gt;=&gt; 'quiz_stats.phar'
    0.1220     553576       -&gt; str_replace('/quiz_stats.phar', '', '/QuizStats/quiz_stats.phar/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:272
                             &gt;=&gt; '/QuizStats/'
    0.1220     553400       -&gt; substr('/QuizStats/', 1) D:\Server\sites\dev\QuizStats\quiz_stats.phar:282
                             &gt;=&gt; 'QuizStats/'
    0.1221     553336       -&gt; PHP_Archive::_fileExists($archive = 'D:\\Server\\sites\\dev\\QuizStats\\quiz_stats.phar', $path = 'QuizStats/') D:\Server\sites\dev\QuizStats\quiz_stats.phar:282
                             &gt;=&gt; FALSE
    0.1221     553544       -&gt; header('HTTP/1.0 404 Not Found') D:\Server\sites\dev\QuizStats\quiz_stats.phar:283
                             &gt;=&gt; NULL
                           &gt;=&gt; FALSE</pre>]]></description>
      <dc:date>2009-05-23T23:06:44+00:00</dc:date>
      <dc:creator>alex &amp;#x64;&amp;#111;&amp;#x74; madmind &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Archive Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15202">
      <title>PHP_Archive: Feature/Change Request 15202 [Open] Improve PHPCS results</title>
      <link>http://pear.php.net/bugs/15202</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Feature/Change Request
Reported by doconnor
2008-12-01T23:42:07+00:00
PHP: 5.2.6 OS:  Package Version: CVS

Description:
------------
PHP_Archive  	310 errors  	293 warnings

http://www.lauken.com/doconnor/phpcs.html

Test script:
---------------
phpcs</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Feature/Change Request
Reported by doconnor
2008-12-01T23:42:07+00:00
PHP: 5.2.6 OS:  Package Version: CVS

Description:
------------
PHP_Archive  	310 errors  	293 warnings

http://www.lauken.com/doconnor/phpcs.html

Test script:
---------------
phpcs</pre>]]></description>
      <dc:date>2008-12-01T23:42:07+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Archive Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12320">
      <title>PHP_Archive: Bug 12320 [Open] Notice raised on NULL meta-data</title>
      <link>http://pear.php.net/bugs/12320</link>
      <content:encoded><![CDATA[<pre>PHP_Archive Bug
Reported by farell
2007-10-24T07:59:05+00:00
PHP: 5.2.4 OS: Linux Package Version: 0.11.3

Description:
------------
While I try to read the content of an archive with PHP_Archive_Manager created by PHP_Archive_Creator, I get a NOTICE error.


This is due because meta-data is missing.

Example of file read by the manager (see test script) : 

File phar://______.phar/public/styles/site.css size: 2878
File phar://______.phar/public/styles/site.css save date: 2007-10-23 18:50
File phar://______.phar/public/styles/site.css crc: 1801274466
File phar://______.phar/public/styles/site.css size in archive: 2878
File phar://______.phar/public/styles/site.css offset in archive: 527321
File phar://______.phar/public/styles/site.css meta-data length: 0
File phar://______.phar/public/styles/site.css meta-data: NULL
File phar://______.phar/public/styles/site.css GZ compressed: no
File phar://______.phar/public/styles/site.css BZ2 compressed: no




Test script:
---------------
&lt;?php

require_once 'PHP/Archive/Manager.php';


if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
    die('YOU MUST SPECIFY $sourceDir and $pharDir');
} else {
    $sourceDir = '(....)';
    $pharDir = '(....)';
}
$pharFile = $pharAlias = '______.phar';


$pam = new PHP_Archive_Manager($pharDir . DIRECTORY_SEPARATOR . $pharFile);
$pam-&gt;dump();

?&gt;

Expected result:
----------------
No NOTICE error when error_reporting level set to E_ALL

Actual result:
--------------
Notice: Undefined offset:  6 in /usr/local/lib/php/PHP/Archive/Manager.php on line 420</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Archive Bug
Reported by farell
2007-10-24T07:59:05+00:00
PHP: 5.2.4 OS: Linux Package Version: 0.11.3

Description:
------------
While I try to read the content of an archive with PHP_Archive_Manager created by PHP_Archive_Creator, I get a NOTICE error.


This is due because meta-data is missing.

Example of file read by the manager (see test script) : 

File phar://______.phar/public/styles/site.css size: 2878
File phar://______.phar/public/styles/site.css save date: 2007-10-23 18:50
File phar://______.phar/public/styles/site.css crc: 1801274466
File phar://______.phar/public/styles/site.css size in archive: 2878
File phar://______.phar/public/styles/site.css offset in archive: 527321
File phar://______.phar/public/styles/site.css meta-data length: 0
File phar://______.phar/public/styles/site.css meta-data: NULL
File phar://______.phar/public/styles/site.css GZ compressed: no
File phar://______.phar/public/styles/site.css BZ2 compressed: no




Test script:
---------------
&lt;?php

require_once 'PHP/Archive/Manager.php';


if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
    die('YOU MUST SPECIFY $sourceDir and $pharDir');
} else {
    $sourceDir = '(....)';
    $pharDir = '(....)';
}
$pharFile = $pharAlias = '______.phar';


$pam = new PHP_Archive_Manager($pharDir . DIRECTORY_SEPARATOR . $pharFile);
$pam-&gt;dump();

?&gt;

Expected result:
----------------
No NOTICE error when error_reporting level set to E_ALL

Actual result:
--------------
Notice: Undefined offset:  6 in /usr/local/lib/php/PHP/Archive/Manager.php on line 420</pre>]]></description>
      <dc:date>2007-10-24T07:59:05+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; laurent-laville &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PHP_Archive Bug</dc:subject>
    </item>
</rdf:RDF>
