Bug #67953 [Opn->Wfx]: fopen works only one time if php it's configure with ccurlwrappers

From: Date: Tue, 02 Sep 2014 23:53:27 +0000
Subject: Bug #67953 [Opn->Wfx]: fopen works only one time if php it's configure with ccurlwrappers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187397@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67953&edit=1 ID: 67953 Updated by: johannes@php.net Reported by: damien at mailbox dot org Summary: fopen works only one time if php it's configure with ccurlwrappers -Status: Open +Status: Wont fix Type: Bug Package: cURL related Operating System: Ubuntu 14.04 64bits PHP Version: Irrelevant Block user comment: N Private report: N New Comment: curlwrappers were marked experimental (see configure --help) and have been removed in 5.5. Previous Comments: ------------------------------------------------------------------------ [2014-09-02 22:54:31] damien at mailbox dot org 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 this bug report at https://bugs.php.net/bug.php?id=67953&edit=1

« previous php.bugs (#187397) next »