Ask a Question related to PHP Bugs, Design and Development.
-
hscheidegger at zumbach dot ch #1
#39506 [NEW]: Archive corrupt with ZipArchive::addFile method
From: hscheidegger at zumbach dot ch
Operating system: Windows XP
PHP version: 5.2.0
PHP Bug Type: Zip Related
Bug description: Archive corrupt with ZipArchive::addFile method
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the content
of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
--
Edit bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39506&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39506&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39506&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39506&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39506&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39506&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39506&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39506&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39506&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39506&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39506&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39506&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39506&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39506&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39506&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39506&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39506&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39506&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39506&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39506&r=mysqlcfg[/url]
hscheidegger at zumbach dot ch Guest
-
#40494 [NEW]: Memory problem with ZipArchive::addFile()
From: foster dot graeme at gmail dot com Operating system: Linux PHP version: 5.2.1 PHP Bug Type: Zip Related Bug... -
#39784 [NEW]: Can't make an instance of ZipArchive
From: itsmegawtf at gmail dot com Operating system: Gentoo linux PHP version: 5.2.0 PHP Bug Type: Zip Related Bug... -
#39742 [NEW]: Class 'ZipArchive' not found
From: eric dot leseint at ac-poitiers dot fr Operating system: Windows 2003 server PHP version: 5.2.0 PHP Bug Type: ... -
#38944 [NEW]: ZipArchive exits with SEGV
From: judas dot iscariote at gmail dot com Operating system: linux PHP version: 5CVS-2006-09-25 (CVS) PHP Bug Type: Zip... -
#38943 [NEW]: serious misbehaviour extending ZipArchive class
From: judas dot iscariote at gmail dot com Operating system: Linux PHP version: 5CVS-2006-09-24 (CVS) PHP Bug Type: Zip... -
tony2001@php.net #2
#39506 [Opn->Fbk]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]tony2001@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Open
+Status: Feedback
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
New Comment:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
Previous Comments:
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
tony2001@php.net Guest
-
hscheidegger at zumbach dot ch #3
#39506 [Fbk->Opn]: Archive corrupt with ZipArchive::addFile method
ID: 39506
User updated by: hscheidegger at zumbach dot ch
Reported By: hscheidegger at zumbach dot ch
-Status: Feedback
+Status: Open
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
New Comment:
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
hscheidegger at zumbach dot ch Guest
-
tony2001@php.net #4
#39506 [Opn->Asn]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]tony2001@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Open
+Status: Assigned
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
-Assigned To:
+Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
tony2001@php.net Guest
-
pajoye@php.net #5
#39506 [Asn->Fbk]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]pajoye@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Assigned
+Status: Feedback
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
Can you try your script using CLI?
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
pajoye@php.net Guest
-
hscheidegger at zumbach dot ch #6
#39506 [Fbk->Opn]: Archive corrupt with ZipArchive::addFile method
ID: 39506
User updated by: hscheidegger at zumbach dot ch
Reported By: hscheidegger at zumbach dot ch
-Status: Feedback
+Status: Open
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
hscheidegger at zumbach dot ch Guest
-
tony2001@php.net #7
#39506 [Opn->Asn]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]tony2001@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Open
+Status: Assigned
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
tony2001@php.net Guest
-
pajoye@php.net #8
#39506 [Asn->Fbk]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]pajoye@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Assigned
+Status: Feedback
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
I just commited a fix, it should fix it for all other SAPI (it works in
CLI/CGI/Embed).
Previous Comments:
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[2006-11-13 23:22:32] hscheidegger at zumbach dot ch
Description:
------------
We use PHP 5.2 on Windows XP and Server 2003, not the CGI version.
We are running Apache 2 with php as module and php_zip.dll as extension
declared in php.ini.
The following script produces a corrupt zip archive, depending the
content of 'TestDoc1.txt':
<?php
$zip = new ZipArchive;
$res = $zip->open( 'test.zip', ZipArchive::CREATE );
if ($res === TRUE) {
$zip->addFile( 'TestDoc1.txt', 'entryname1.txt' );
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
Reproduce code:
---------------
zip archive ok with TestDoc1.txt:
=================================
<body bgcolor="#CED5E5">
<br>
</body>
This is some text, we have to fill the file with nonsense.
zip archive corrupt with TestDoc1.txt:
======================================
<body bgcolor="#CED5E5">
<br>
x
</body>
This is some text, we have to fill the file with nonsense.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
pajoye@php.net Guest
-
hscheidegger at zumbach dot ch #9
#39506 [Fbk->Opn]: Archive corrupt with ZipArchive::addFile method
ID: 39506
User updated by: hscheidegger at zumbach dot ch
Reported By: hscheidegger at zumbach dot ch
-Status: Feedback
+Status: Open
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
Unfortunately there is still the same problem.
I'm using Apache2.2.3 and the related versions of php5apache2.dll and
php5apache2_filter.dll;
Does this matter?
Previous Comments:
------------------------------------------------------------------------
[2006-11-15 16:26:32] [email]pajoye@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
I just commited a fix, it should fix it for all other SAPI (it works in
CLI/CGI/Embed).
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
[2006-11-14 09:33:20] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39506[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
hscheidegger at zumbach dot ch Guest
-
pajoye@php.net #10
#39506 [Opn->Fbk]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]pajoye@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
-Status: Open
+Status: Feedback
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
The snaps have not been yet updated. Please wait the _next_ one and try
again :)
Previous Comments:
------------------------------------------------------------------------
[2006-11-15 18:00:57] hscheidegger at zumbach dot ch
Unfortunately there is still the same problem.
I'm using Apache2.2.3 and the related versions of php5apache2.dll and
php5apache2_filter.dll;
Does this matter?
------------------------------------------------------------------------
[2006-11-15 16:26:32] [email]pajoye@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
I just commited a fix, it should fix it for all other SAPI (it works in
CLI/CGI/Embed).
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
[2006-11-14 09:53:34] hscheidegger at zumbach dot ch
We have the same behaviour with the proposed CVS snapshot.
Do you need additional information?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39506[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
pajoye@php.net Guest
-
hscheidegger at zumbach dot ch #11
#39506 [Fbk->Csd]: Archive corrupt with ZipArchive::addFile method
ID: 39506
User updated by: hscheidegger at zumbach dot ch
Reported By: hscheidegger at zumbach dot ch
-Status: Feedback
+Status: Closed
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
The 'addFile()' method is now working in our environment.
Thanks for your help,
Regards, H-P Scheidegger
Previous Comments:
------------------------------------------------------------------------
[2006-11-15 19:18:38] [email]pajoye@php.net[/email]
The snaps have not been yet updated. Please wait the _next_ one and try
again :)
------------------------------------------------------------------------
[2006-11-15 18:00:57] hscheidegger at zumbach dot ch
Unfortunately there is still the same problem.
I'm using Apache2.2.3 and the related versions of php5apache2.dll and
php5apache2_filter.dll;
Does this matter?
------------------------------------------------------------------------
[2006-11-15 16:26:32] [email]pajoye@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
I just commited a fix, it should fix it for all other SAPI (it works in
CLI/CGI/Embed).
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
[2006-11-14 14:37:46] [email]pajoye@php.net[/email]
Can you try your script using CLI?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39506[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
hscheidegger at zumbach dot ch Guest
-
pajoye@php.net #12
#39506 [Csd]: Archive corrupt with ZipArchive::addFile method
ID: 39506
Updated by: [email]pajoye@php.net[/email]
Reported By: hscheidegger at zumbach dot ch
Status: Closed
Bug Type: Zip Related
Operating System: Windows XP
PHP Version: 5.2.0
Assigned To: pajoye
New Comment:
For the record here, it was not an addFile problem but the binary mode
being ignored by the windows API. It is now forced to binary using a
lower level function.
Previous Comments:
------------------------------------------------------------------------
[2006-11-16 13:13:30] hscheidegger at zumbach dot ch
The 'addFile()' method is now working in our environment.
Thanks for your help,
Regards, H-P Scheidegger
------------------------------------------------------------------------
[2006-11-15 19:18:38] [email]pajoye@php.net[/email]
The snaps have not been yet updated. Please wait the _next_ one and try
again :)
------------------------------------------------------------------------
[2006-11-15 18:00:57] hscheidegger at zumbach dot ch
Unfortunately there is still the same problem.
I'm using Apache2.2.3 and the related versions of php5apache2.dll and
php5apache2_filter.dll;
Does this matter?
------------------------------------------------------------------------
[2006-11-15 16:26:32] [email]pajoye@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
I just commited a fix, it should fix it for all other SAPI (it works in
CLI/CGI/Embed).
------------------------------------------------------------------------
[2006-11-14 19:10:26] hscheidegger at zumbach dot ch
Yes I did and it works without error.
Now, how to get work the .dll version with Apache 2.2.3 on Windows XP?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39506[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39506&edit=1[/url]
pajoye@php.net Guest



Reply With Quote

