Пытаюсь заставить работать roundcube, которую установил из портов.При переходе на страницу index.php, roundcube выводит ошибку: Fatal error: Call to undefined function filter_var() in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php on line 47. Гугл говорит, что не установлены расширения для php, а именно filter. В /usr/local/etc/php/ extensions.ini он тоже указан. Быть может в /usr/local/etc/php.ini что -то нужно изменить?
Код: Выделить всё
# uname -mor
FreeBSD 9.1-RELEASE i386
Код: Выделить всё
# apachectl -v
Server version: Apache/2.2.23 (FreeBSD)
Server built: Apr 9 2013 13:23:33
Код: Выделить всё
# apachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_dbm_module (shared)
authn_anon_module (shared)
authn_default_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_dbm_module (shared)
authz_owner_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
file_cache_module (shared)
cache_module (shared)
disk_cache_module (shared)
dumpio_module (shared)
reqtimeout_module (shared)
include_module (shared)
filter_module (shared)
charset_lite_module (shared)
deflate_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
cern_meta_module (shared)
expires_module (shared)
headers_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
version_module (shared)
ssl_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
asis_module (shared)
info_module (shared)
cgi_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
imagemap_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
Код: Выделить всё
# php -v
PHP 5.4.33 (cli) (built: Sep 24 2014 14:11:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Код: Выделить всё
# php -m
[PHP Modules]
bz2
Core
ctype
date
dom
ereg
exif
filter
gd
gettext
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mhash
mssql
mysql
mysqlnd
pcre
PDFlib
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
snmp
soap
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]