[afnog] Fatal Error with Squirrelmail

Phil Regnauld regnauld at x0.dk
Mon Jul 30 20:37:07 UTC 2007


Ismail M. Settenda (ismail) writes:
> 
> Need some help with my squirrelmail installation. I had already installed
> apache13 and PHP4 with extension and support for imap,mysql and pcre..e.t.c.

> 
> But I keep getting the below error when I access squirrelmail.
> 
> Fatal error: Call to undefined function: preg_replace() in
> /usr/local/www/webmail/data/functions/global.php on line 165
> 
> I did some research on this error and came up with this site:
> 
> http://freebsdrocks.net/index.php?option=com_content&task=view&id=44&Itemid=1
> 
> To no avail, what could be wrong?

	Sounds like php4-pcre didn't get installed anyway.  Did you restart
	Apache ?

	What does the following say:

pkg_info |grep php4

	Also, try to create a test.php page with just <? phpinfo(); ?>

	... and see if the pcre extension shows up in the test output.



More information about the afnog mailing list