[PHP-DEV] PHP 4.0 Bug #8971: fopen("http://my.url.com","r") hangs my script From: andreas <email protected>
Date: 01/28/01

From: andreas <email protected>
Operating system: Redhat Linux 7.0 (fully updated)
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: fopen("http://my.url.com","r") hangs my script

The problem is that when I open a web-page with the fopen("url","r") function, my scirpt hangs for no preticiular reason. It occurs both if I run 'php myscript.php' and if I use it on a web-page.

A script that reproduses the problem could be found at
http://h45.ryd.student.liu.se/php/tips/ratta.phps

I Run the PHP RPM package that's supplied by RedHat. It's fully updated to the latest version.
I havn't changed anything in my php.ini, so I guess it looks in the way RedHat has made it. I can send it to anyone who'd like to see it.

I run apache 1.3.14-3 (RPM installed).
The machine is a P166 with 96MB of ram. As I said, it runs RedHat 7.0 with all updates. the 2.2.16-22 kernel is used.

If you'd like to know something else about the env. just let me know!

-- 
Edit Bug report at: http://bugs.php.net/?id=8971&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>