Roundcube Community Forum

 

PHP error: Call to undefined function

Started by cbrace, November 16, 2009, 12:42:28 PM

Previous topic - Next topic

cbrace

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

JohnDoh

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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

cbrace

#2
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