Roundcube Community Forum

Release Support => Pending Issues => Topic started by: cbrace on November 16, 2009, 12:42:28 PM

Title: PHP error: Call to undefined function
Post by: cbrace on November 16, 2009, 12:42:28 PM
Hi all,

I am running roundcube on a small home server under FreeBSD. Over the weekend I updated a large number of the installed ports (packages), and something broke. When I try to open roundcube now, I get the following error in my lighttpd error log:

(mod_fastcgi.c.2697) FastCGI-stderr: PHP Fatal error:  Call to undefined function preg_replace() in /usr/local/www/roundcube/program/include/iniset.php on line 85

Before listing this in the bugtracker, I thought I would check here first in case it is a simple config error.

relevant version numbers:
7.0-STABLE
roundcube-0.3_1,1
php5-5.2.11_1
lighttpd-1.4.24

Thanks
Title: PHP error: Call to undefined function
Post by: JohnDoh on November 17, 2009, 03:32:29 AM
RC requries that you have the PCRE module installed in your PHP. It looks like you are missing that. Sorry I dont know how to install it but some one else can help with that.
Title: PHP error: Call to undefined function
Post by: cbrace on November 17, 2009, 01:52:57 PM
as far as I can tell, I do have pcre installed:

$ pkg_info | grep pcre
pcre-8.00           Perl Compatible Regular Expressions library
php5-pcre-5.2.11_1  The pcre shared extension for php


never mind, fixed. I recently updated a whole bunch of packages... just restarted the webserver... and it now works. Thanks