#44976 [Opn->Bgs]: PHP 5.2.6 says Fatal error: Call to undefined function filter_var()
| From: | pajoye@php.net | Date: | Tue, 13 May 2008 09:18:50 +0000 |
| Subject: | #44976 [Opn->Bgs]: PHP 5.2.6 says Fatal error: Call to undefined function filter_var() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-124973@lists.php.net to get a copy of this message | ||
ID: 44976
Updated by: pajoye@php.net
Reported By: marcabconfederacy24 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: FreeBSD 6.3
PHP Version: 5.2.6
Assigned To: pajoye
New Comment:
Right, I was wrong to ask for activating php_filter.dll in your
php.ini
However, you are doing something wrong. Below is the bundled and
activated module in 5.2.6 (win32). Please ask in php.install or double
check your install (and error logs).
C:\php526>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter <<< the filter extension
ftp
hash
iconv
json
libxml
odbc
pcre
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
Previous Comments:
------------------------------------------------------------------------
[2008-05-13 09:14:17] marcabconfederacy24 at yahoo dot com
Proof it should be built into PHPH 5.2.0 and above.
http://pecl.php.net/package/filter -- last
release separately was in
2006. And yet in the other bug reports, there are notes that they
recently fixed bugs in it this year.
------------------------------------------------------------------------
[2008-05-13 09:02:48] marcabconfederacy24 at yahoo dot com
Oops I was looking at the wrong thing.
Anyway, the manual says the filter extension is built in to version
5.2.0 and above and does not need to be installed. And only older
versions need it installed.
------------------------------------------------------------------------
[2008-05-13 06:11:05] pajoye@php.net
Please load the "filter" extension, not Apache's mod_filter.
------------------------------------------------------------------------
[2008-05-13 03:25:03] marcabconfederacy24 at yahoo dot com
I checked and these also get "Fatal error: Call to undefined function"
on 5.2.6 with phpinfo saying mod_filter is loaded
filter_var_array()
filter_input()
filter_input_array()
------------------------------------------------------------------------
[2008-05-13 03:17:34] marcabconfederacy24 at yahoo dot com
test
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44976
--
Edit this bug report at http://bugs.php.net/?id=44976&edit=1