ID:               27401
 Comment by:       coadmin at hostings dot com dot pl
 Reported By:      ycallen at ndsisrael dot com
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: RHEL linux
 PHP Version:      4.3.4
 New Comment:

Hello,



I've similar problem. It's not bogus.

I use two servers: FreeBSD 4.9-STABLE and FreeBSD-5.2.1-p3 on different
hardware. My PHP version is too 4.3.4 and PHP act as mod_php. Apache
1.3.29.



I've such messages in logs:



Warning:

fopen(http://xxx.foo/check_code.php?id=1707&code=xxx):

failed to open stream: HTTP request failed! @©Ü in
/home/xxx/public_html/check.php on line 20



Warning: fgets(): supplied argument is not a valid stream resource in

/home/xxx/public_html/check.php on line 21



Warning: fgets(): supplied argument is not a valid stream resource in

/home/xxx/public_html/check.php on line 22



Warning: fclose(): supplied argument is not a valid stream resource in

/home/xxx/public_html/check.php on line 23



The problem occurs randomly, about a few hours after Apache START. Only
way to fix it is to do full restart of Apache. Problem locks functions
fopen() and/or fsockopen(). I don't know how to reproduce it - only way
is to wait a few hours. It seems that it's OS independent. Other php
functions works good. I didn't noticed any problems. Plese help.


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

[2004-02-26 09:36:11] ycallen at ndsisrael dot com

I redirected the fopen to another computer with apache runnning on it
and it still didn't work.Do you always write bogus when there is a bug
that you don't know how to fix?

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

[2004-02-26 07:27:55] ycallen at ndsisrael dot com

It's not an old version.It's one of the newer ones.

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

[2004-02-26 07:27:02] [EMAIL PROTECTED]

You're using old version too. Latest stable CVS snapshot has lot of
bugs fixed..



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

[2004-02-26 07:22:43] ycallen at ndsisrael dot com

If that was the case then no php scripts would work at all.Basic php
scripts work.The only problem i found so far was with fopen.

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

[2004-02-26 07:17:07] [EMAIL PROTECTED]

Of course it times out in debug mode since there's only one child
serving requests..and the one request is taken by your script calling
the other script..



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

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
    http://bugs.php.net/27401

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

Reply via email to