PHP4b3 fopen($Url, "r") fails: invalid URL, segmentation fault
| From: | Chris Shenton | Date: | Sun, 30 Jan 2000 23:26:34 +0000 |
| Subject: | PHP4b3 fopen($Url, "r") fails: invalid URL, segmentation fault | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9578@lists.php.net to get a copy of this message | ||
Running PHP4b3 on Solaris-sparc.
I'm seeing two different failure modes when using fopen() on a URL:
<?
$fp = fopen("http://www.php.net/",
"r");
$fp = fopen("http://www.php.net/manual/function.fopen.php3",
"r");
?>
The first causes PHP to complain about an improper URL:
Warning: Invalid URL specified, http://www.php.net/ in
/opt/web/apache/htdocs/myproject/test/fopen-url.php on line 2
The second causes a seg fault:
[Sun Jan 30 18:20:09 2000] [notice] child pid 1430 exit signal Segmentation Fault (11)
Suggestions?