#23345 [Opn->Bgs]: Streams not working, fails with Undefined function
| From: | jay@php.net | Date: | Fri, 25 Apr 2003 14:15:53 +0000 |
| Subject: | #23345 [Opn->Bgs]: Streams not working, fails with Undefined function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38369@lists.php.net to get a copy of this message | ||
ID: 23345
Updated by: jay@php.net
Reported By: markus dot lervik at vaasa dot fi
-Status: Open
+Status: Bogus
Bug Type: Network related
Operating System: FreeBSD 4.7-RELEASE
PHP Version: 4.3.0
New Comment:
Also according to the manual
(http://www.php.net/stream_get_wrappers):
"stream_get_wrappers
(PHP 5 CVS only)"
This function doesn't exist in PHP 4.3.0.
J
Previous Comments:
------------------------------------------------------------------------
[2003-04-25 08:42:55] markus dot lervik at vaasa dot fi
I'm not sure if this is only error in the documentation,
but I decided to file it under Network Related anyway.
According to the manual,
"Streams are an integral part of PHP as of version 4.3.0. No steps are
required to enable them."
When I try a simple
<?php
$f = stream_get_wrappers();
echo '<pre>';
print_r($f);
echo '</pre>';
?>
all I get is
Fatal error: Call to undefined function: stream_get_wrappers()
./configure --help doesn't mention streams anywhere,
nor does phpinfo() mention anything about it either
(apart from "Registered PHP Streams").
According to the linker, main/streams.lo is linked.
I haven't been able to find anything on the web about it either, nor
did the good people on EFNet's #php channel know anything about it.
My configure line is
'./configure'
'--with-mysql=/usr/local/mysql/'
'--with-gd'
'--with-ldap'
'--with-sockets'
'--with-xml'
'--with-dom'
'--with-freetype'
'--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-zlib'
'--with-bz2'
'--with-ssl'
'--with-tsrm-pth'
'--with-cli'
'--disable-cgi'
'--with-pdflib'
'--with-pgsql'
'--with-wddx'
'--with-curl'
'--with-curlwrappers'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23345&edit=1