Bug #13803 Updated: fopen($url) crashes sometimes
| From: | sniper@php.net | Date: | Wed, 24 Oct 2001 05:15:25 +0000 |
| Subject: | Bug #13803 Updated: fopen($url) crashes sometimes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68904@lists.php.net to get a copy of this message | ||
ID: 13803
Updated by: sniper
Reported By: php@awks.org
Old Status: Open
Status: Duplicate
Bug Type: Reproducible crash
Operating System: FreeBSD 4.4-stable
PHP Version: 4.0.6
New Comment:
Duplicate of #12748 which also includes gdb backtrace
and has reproduced it with latest CVS snapshot.
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 16:36:28] php@awks.org
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 this bug report at http://bugs.php.net/?id=13803&edit=1