From owner-freebsd-questions@FreeBSD.ORG Wed Jan 8 21:23:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21D6DFD7 for ; Wed, 8 Jan 2014 21:23:57 +0000 (UTC) Received: from ip-005.utdallas.edu (ip-005.utdallas.edu [129.110.182.13]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DD46D1383 for ; Wed, 8 Jan 2014 21:23:56 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsEHAJjAzVKBbgogVWdsb2JhbABZg0OJHqBMkVUDARcEBwsHFCiCZAKBYxqIF5pkhwuiVBeMe4U1gRMEiUOQBIkbixYd X-IPAS-Result: AsEHAJjAzVKBbgogVWdsb2JhbABZg0OJHqBMkVUDARcEBwsHFCiCZAKBYxqIF5pkhwuiVBeMe4U1gRMEiUOQBIkbixYd X-IronPort-AV: E=Sophos;i="4.95,626,1384322400"; d="scan'208";a="20584795" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-005.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Jan 2014 15:22:47 -0600 Date: Wed, 08 Jan 2014 15:22:47 -0600 From: Paul Schmehl To: Freebsd Questions Subject: Call to undefined function filter_var() Message-ID: <7B5C1ECD7F7B074038F650BF@localhost> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1088 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 21:23:57 -0000 I'm getting this error when testing a script. The odd thing is, the filter extension is installed. # find /usr/local/lib/php/ -name filter.so /usr/local/lib/php/20100525/filter.so # grep filter.so /usr/local/etc/php/extensions.ini extension=filter.so # pkg_info -r php5-filter-* Information for php5-filter-5.4.23: Depends on: Dependency: expat-2.1.0 Dependency: perl5.14-5.14.4_4 Dependency: pcre-8.33 Dependency: db42-4.2.52_5 Dependency: libiconv-1.14_1 Dependency: libxml2-2.8.0_3 Dependency: gettext-0.18.3.1 Dependency: gdbm-1.11 Dependency: apr-1.4.8.1.5.3 Dependency: apache22-2.2.26 Dependency: php5-5.4.23 So why am I getting this error? And how do I fix it? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell