Bug #67953 [NEW]: fopen works only one time if php it's configure with ccurlwrappers

From: Date: Tue, 02 Sep 2014 22:54:33 +0000
Subject: Bug #67953 [NEW]: fopen works only one time if php it's configure with ccurlwrappers
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187396@lists.php.net to get a copy of this message
From: damien at mailbox dot org Operating system: Ubuntu 14.04 64bits PHP version: Irrelevant Package: cURL related Bug Type: Bug Bug description:fopen works only one time if php it's configure with ccurlwrappers Description: ------------ I do not know if it's a BUG my problem or normal behavior of PHP. Maybe you can tell me how to give this problem to the developers. Symptom: -------- fopen works only once after a server restart. Cause: ------ I can reproduce the error when compiling PHP with the option "--with-curlwrappers". Version affected: ----------------- 5.2.17 and 5.3.29 and 5.4.32 Note: no troubles with 5.5.16 Complete Information: --------------------- When compiling PHP on a Ubuntu 14.04 64-bit server with "--with-curlwrappers" in my configure arguments, my script with "fopen" only one time. The second time it returns nothing, "strace" shows me that he not call the remote server. If I compile my php without "--with-curlwrappers" my script works every time. I have this BUG with versions 5.2.x, 5.3.x and 5.4.x No problem with the 5.5.x release. Test script: --------------- $ufurl = "http://www.google.fr"; $fp = fopen($ufurl, 'r'); while (!feof($fp)) { echo(fread($fp, 8192)); } -- Edit bug report at https://bugs.php.net/bug.php?id=67953&edit=1 --

« previous php.bugs (#187396) next »