Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 01:06:11 -0700
From:      "@lbutlr" <kremels@kreme.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: PHP56 and php56-filter
Message-ID:  <577E1F8C-7A17-4DCC-9B80-B0DCD5D1DA15@kreme.com>
In-Reply-To: <EBF8AEC2-5AA0-46F4-AF76-88CA6ED9561C@kreme.com>
References:  <EBF8AEC2-5AA0-46F4-AF76-88CA6ED9561C@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Still haven't been able to fix this error. Any ideas? The only thing =
that I've found is one suggestion to install the php7 version of filter.

On 11 Jan 2017, at 20:10, @lbutlr <kremels@kreme.com> wrote:
> I am getting errors in php pages saying
>=20
> Call to undefined function filter_var()
>=20
> But php56-filter-5.6.29 is installed and filter is listed in php -m
>=20
> I reinstalled all of php this morning, but still getting the same =
error. ext-20-filter.ini exists in /usr/local/etc/php/ and filter.so =
exists at /usr/local/lib/php/20131226/filter.so with a timestamp from =
this morning (along with all the other .so files). There is also a file =
"/usr/local/libexec/apache24/mod_filter.so=E2=80=9D with a slightly =
earlier timestamp (probably from when I recompiled apache24 this am).
>=20
> (FreeBSD 10.3-RELEASE)
>=20
> Not sure what else to check, but a simple
>=20
> filter_var('true', FILTER_VALIDATE_BOOLEAN);
>=20
> in an otherwise empty .php file fails:
>=20
> PHP Fatal error:  Call to undefined function filter_var() in =
/usr/local/www/root/filter.php on line 2

--=20
Apple broke AppleScripting signatures in Mail.app, so no random =
signatures.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?577E1F8C-7A17-4DCC-9B80-B0DCD5D1DA15>