Bug #13803: fopen($url) crashes sometimes
| From: | php at awks dot org | Date: | Tue, 23 Oct 2001 20:36:28 +0000 |
| Subject: | Bug #13803: fopen($url) crashes sometimes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-68877@lists.php.net to get a copy of this message | ||
From: php@awks.org
Operating system: FreeBSD 4.4-stable
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: fopen($url) crashes sometimes
This is the same bug as #13633 and #12748.. I just wanted
to report that it does the same thing on FreeBSD, but
couldn't figure out a way to add the comment to an existing
bug.
In php.ini:
allow_url_fopen = Off
In httpd.conf, within a VirtualHost:
php_flag allow_url_fopen On
fopen($any_url) consistently causes segfault.
Changing php.ini to On and the problem goes away. Remove
the line from httpd.conf, and there's no crash, but of
course the fopen doesn't work with URLs in that case.
--
Edit bug report at: http://bugs.php.net/?id=13803&edit=1