#29801 [NEW]: Using readfile() to send large files causes PHP to hang

2004-08-23 Thread WPinegar at healthtech dot net
From: WPinegar at healthtech dot net
Operating system: Windows Server 2003
PHP version:  5.0.1
PHP Bug Type: Reproducible crash
Bug description:  Using readfile() to send large files causes PHP to hang

Description:

Attempting to use readfile() to send large (over 250MB) binary objects
causes PHP 5.0.1 to hang or the web server to send a 302 error.  Reverting
back to PHP 4.3.8 resolves the issue.

Using fopen() and fpassthru() only makes the issue worse.

We are using IIS 6 and the PHP ISAPI script engine.

Reproduce code:
---
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment;
filename=".basename($filename).";");
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($filename));

readfile("$filename"); 
exit(); 


Expected result:

PHP 5 has an issue with sending large binary files.  This should be
resolved.


-- 
Edit bug report at http://bugs.php.net/?id=29801&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29801&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29801&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29801&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=29801&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=29801&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=29801&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=29801&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=29801&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29801&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=29801&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29801&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29801&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=29801&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29801&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=29801&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=29801&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29801&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29801&r=float


#27398 [NEW]: Installing PEAR (go-pear.bat) causes Application Error

2004-02-25 Thread WPinegar at healthtech dot net
From: WPinegar at healthtech dot net
Operating system: Windows Server 2003
PHP version:  5CVS-2004-02-25 (dev)
PHP Bug Type: *General Issues
Bug description:  Installing PEAR (go-pear.bat) causes Application Error

Description:

While attempting to install PEAR via the command go-pear.bat (found in the
\PHP directory) I received an application error in php.exe module
php5ts.dll and PEAR does not extract properly.

Reproduce code:
---
Attempt to install PEAR via the command line utility go-pear.bat.  You
will receive an application error and PEAR will not extract properly.

Expected result:

PEAR should extract and install correctly.


-- 
Edit bug report at http://bugs.php.net/?id=27398&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27398&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27398&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=27398&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=27398&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27398&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=27398&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=27398&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=27398&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=27398&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=27398&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=27398&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=27398&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27398&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=27398&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=27398&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=27398&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27398&r=float


#27269 [Csd->Opn]: php_gettext.dll extension will not load

2004-02-18 Thread WPinegar at healthtech dot net
 ID:   27269
 User updated by:  WPinegar at healthtech dot net
 Reported By:  WPinegar at healthtech dot net
-Status:   Closed
+Status:   Open
 Bug Type: Gettext related
 Operating System: win32 only
-PHP Version:  5CVS-2004-02-16
+PHP Version:  5CVS-2004-02-18
 Assigned To:  wez
 New Comment:

With the 2/18 CVS build it looks like the php_gettext.dll library
attempts to load now.  However it depends on ICONV.DLL which is not
being included with the 2/18 CVS Win32 distribution.  I found a copy of
the library at the URL listed below, but the PHP documentation says
that the library is included with the Win32 distribution of PHP (and it
has been included in prior 4.3.x releases of PHP).



Making the ICONV.DLL library available now allows the php_gettext.dll
extension to load.  Thanks!



http://www.zlatkovic.com/pub/libxml/iconv-1.9.1.win32.zip


Previous Comments:


[2004-02-17 06:09:51] [EMAIL PROTECTED]

next snap should work fine.



[2004-02-16 22:14:09] [EMAIL PROTECTED]

Apparently the new build system for Windows broke this since it works
when compiled with the old one. Assigned to Wez who broke it.. :)





[2004-02-16 13:11:33] WPinegar at healthtech dot net

I've discovered the source of the issue.  php_gettext.dll is broken in
5.0.0b4.  It does not export the base DLL entry point "get_module" as
required for PHP -- so it will not load.



Please correct this error in php_gettext.dll.



[2004-02-15 23:51:16] WPinegar at healthtech dot net

Description:

I am unable to load the php_gettext.dll extension that ships with
5.0.0b4.  When I attempt to load this extension while using the PHP
ISAPI filter I get the following popup message on the server:



Warning : PHP Startup: Invalid library (maybe not a PHP library)
'php_gettext.dll' 



What do I need to do in order to get the gettext library to work in
5.0.0b4?  I had this working in PHP 4.3.x without issue so I'm just
curious if in the gettext library in 5.0.0b4 is broken...

Reproduce code:
---
Add php_gettext.dll to the extensions in your php.ini file.

Expected result:

The gettext library should load without issue.

Actual result:
--
Gettext.dll library will not load.





-- 
Edit this bug report at http://bugs.php.net/?id=27269&edit=1


#27269 [Bgs->Opn]: php_gettext.dll extension will not load

2004-02-16 Thread WPinegar at healthtech dot net
 ID:   27269
 User updated by:  WPinegar at healthtech dot net
 Reported By:  WPinegar at healthtech dot net
-Status:   Bogus
+Status:   Open
 Bug Type: *General Issues
 Operating System: Windows Server 2003
 PHP Version:  5.0.0b4 (beta4)
 New Comment:

I've discovered the source of the issue.  php_gettext.dll is broken in
5.0.0b4.  It does not export the base DLL entry point "get_module" as
required for PHP -- so it will not load.



Please correct this error in php_gettext.dll.


Previous Comments:


[2004-02-16 01:18:55] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Try searching the bug database before submitting yet another bogus
report.







[2004-02-15 23:51:16] WPinegar at healthtech dot net

Description:

I am unable to load the php_gettext.dll extension that ships with
5.0.0b4.  When I attempt to load this extension while using the PHP
ISAPI filter I get the following popup message on the server:



Warning : PHP Startup: Invalid library (maybe not a PHP library)
'php_gettext.dll' 



What do I need to do in order to get the gettext library to work in
5.0.0b4?  I had this working in PHP 4.3.x without issue so I'm just
curious if in the gettext library in 5.0.0b4 is broken...

Reproduce code:
---
Add php_gettext.dll to the extensions in your php.ini file.

Expected result:

The gettext library should load without issue.

Actual result:
--
Gettext.dll library will not load.





-- 
Edit this bug report at http://bugs.php.net/?id=27269&edit=1


#27269 [NEW]: php_gettext.dll extension will not load

2004-02-15 Thread WPinegar at healthtech dot net
From: WPinegar at healthtech dot net
Operating system: Windows Server 2003
PHP version:  5.0.0b4 (beta4)
PHP Bug Type: *Extensibility Functions
Bug description:  php_gettext.dll extension will not load

Description:

I am unable to load the php_gettext.dll extension that ships with 5.0.0b4.
 When I attempt to load this extension while using the PHP ISAPI filter I
get the following popup message on the server:



Warning : PHP Startup: Invalid library (maybe not a PHP library)
'php_gettext.dll' 



What do I need to do in order to get the gettext library to work in
5.0.0b4?  I had this working in PHP 4.3.x without issue so I'm just
curious if in the gettext library in 5.0.0b4 is broken...

Reproduce code:
---
Add php_gettext.dll to the extensions in your php.ini file.

Expected result:

The gettext library should load without issue.

Actual result:
--
Gettext.dll library will not load.

-- 
Edit bug report at http://bugs.php.net/?id=27269&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27269&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27269&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=27269&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=27269&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27269&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=27269&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=27269&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=27269&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=27269&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=27269&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=27269&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=27269&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27269&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=27269&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=27269&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=27269&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27269&r=float