ID:               44009
 User updated by:  brandonkahre at charter dot net
 Reported By:      brandonkahre at charter dot net
-Status:           Feedback
+Status:           Closed
 Bug Type:         HTTP related
 Operating System: Windows
 PHP Version:      5.2.5
 New Comment:

Thank you for the response.

I have upgraded my server using the latest PHP build and I have found
that the test script above runs quickly, but only when using the
recommended-ini configuration.  I have compared my existing
configuration to the recommended configuration and I have found that the
problem lies with the "extension_dir" directive.  My existing
configuration (experiencing the bug) uses:
extension_dir = "C:\Program Files\PHP\ext"

The recommended configuration uses:
extension_dir = "./"

Prior to PHP 5.2.X (tested with 5.1.2), I did not experience this bug,
but making this simple change to PHP 5.2.X fixes the bug.


Previous Comments:
------------------------------------------------------------------------

[2008-02-13 18:30:16] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2008-02-01 00:34:53] brandonkahre at charter dot net

Description:
------------
When opening a file using fopen and a network wrapper (HTTP), the page
will lag before finishing.  The response from fopen is fast (determined
by echo'ing the return, and any code that is to be processed after the
fopen function is processed without delay.  It is only when the page is
ready to finish loading that the lag becomes noticeable.  The lag takes
3-6 seconds and does not seem to be affected by any timeout settings in
the php.ini file.
This problem does not exist in PHP 5.1.2, and started immediately after
upgrading to PHP 5.2.4 and 5.2.5.  This problem also seems to only exist
on my Windows server.

Reproduce code:
---------------
<?php
        echo (file_get_contents("http://www.google.com";));
?>



------------------------------------------------------------------------


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

Reply via email to