#23345 [NEW]: Streams not working, fails with Undefined function
| From: | markus dot lervik at vaasa dot fi | Date: | Fri, 25 Apr 2003 13:42:55 +0000 |
| Subject: | #23345 [NEW]: Streams not working, fails with Undefined function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38368@lists.php.net to get a copy of this message | ||
From: markus dot lervik at vaasa dot fi
Operating system: FreeBSD 4.7-RELEASE
PHP version: 4.3.0
PHP Bug Type: Network related
Bug description: Streams not working, fails with Undefined function
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 bug report at http://bugs.php.net/?id=23345&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23345&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23345&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23345&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23345&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23345&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23345&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23345&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23345&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23345&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23345&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23345&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23345&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23345&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23345&r=gnused