Hi all,
Because php80 is approaching EOL, I decided to upgrade my roundcube installation by deleting the www/roundecube-php80 flavor and installing www/roundecube-php81. That deleted the php80 dependencies and installed all the php81 things.
Unfortunately, something broke. I now see the following error in /var/log/httpd-error.log:
A websearch returns a single hit, on the roundcube forum, posted by someone encountered the same error message a couple of years ago: Call to undefined function filter_var()
There was one reply:
I definitely have this installed:
Double-checked, it's enabled in httpd.conf
Further:
Apache24 v2.4.57_1
FreeBSD v13.2-RELEASE-p1
I thought I would ask here first to see if anyone has any ideas or leads for me. If not I will post on the Roundcube forum. If in due time I learn anything there will definitely share it here too.
TIA
Because php80 is approaching EOL, I decided to upgrade my roundcube installation by deleting the www/roundecube-php80 flavor and installing www/roundecube-php81. That deleted the php80 dependencies and installed all the php81 things.
Unfortunately, something broke. I now see the following error in /var/log/httpd-error.log:
Code:
[php:error] [pid 22356] [client ##.###.####.###] PHP Fatal error: Uncaught Error: Call to undefined function filter_var() in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php:49\nStack trace:\n#0 /usr/local/www/roundcube/program/include/iniset.php(78): require_once()\n#1 /usr/local/www/roundcube/index.php(40): require_once('/usr/local/www/...')\n#2 {main}\n thrown in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php on line 49
A websearch returns a single hit, on the roundcube forum, posted by someone encountered the same error message a couple of years ago: Call to undefined function filter_var()
There was one reply:
This function is part of php-filter extension which is usually enabled. You're the first person with this disabled/not-installed. I guess, we should mention that in the INSTALL file.
I definitely have this installed:
Code:
pkg info php81-filter
php81-filter-8.1.20
Name : php81-filter
Version : 8.1.20
Installed on : Thu Jul 27 17:12:30 2023 CEST
Origin : security/php81-filter
Double-checked, it's enabled in httpd.conf
Code:
LoadModule filter_module libexec/apache24/mod_filter.so
Further:
Apache24 v2.4.57_1
FreeBSD v13.2-RELEASE-p1
I thought I would ask here first to see if anyone has any ideas or leads for me. If not I will post on the Roundcube forum. If in due time I learn anything there will definitely share it here too.
TIA