PHP 4.0 Bug #8338: URL fopen fails 1st time used on page

From: Date: Wed, 20 Dec 2000 16:56:36 +0000
Subject: PHP 4.0 Bug #8338: URL fopen fails 1st time used on page
Groups: php.dev 
Request: Send a blank email to php-dev+get-41954@lists.php.net to get a copy of this message
From: hank@yerpso.net Operating system: RHLinux 2.2.5-15 PHP version: 4.0.4 PHP Bug Type: Filesystem function related Bug description: URL fopen fails 1st time used on page Code works 4.03pl1 - breaks 4.0.4, running as DSO under Apache 1.3.14 $fd=fopen("http://www.linuxtoday.com/lthead.txt","r"); Throws a warning, unable to open, but tacks on "- success" at the end of the warning. Later on the same page I have a similar url grab that works fine ... and even works fine accessing the same url as failed above. I'm configured as follows, but have also tried without mcrypt as was suggested on the list to no avail. './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-mysql' '--with-gd=/usr/local' '--with-xml' '--enable-tracking-vars' '--with-imap=/usr/local' '--with-mcrypt=/usr/local' -- Edit Bug report at: http://bugs.php.net/?id=8338&edit=1

« previous php.dev (#41954) next »