> Greetings,
> I searched the users FAQ and list archive and did not find any relevant
> responses.
>
> 1. Server is running Freebsd 6.0-release.
> 2. I have apache 1.13 installed.
> 3. I installed php4-4.0 on the machine.
> 4. I installed squirrelmail 1.4.6
>
> When I first tried to browse to http://mydomain.com/squirrelmail/  I got
> an error "session_id()"  blah blah.  Googled it and found that I had to
> recompile php with --enable-session.  Did that and revisited
> http://mydomain.com/squirrelmailand
> got the following error: *Fatal error*: Call to undefined function:
> preg_replace() in *
> /usr/local/www/data-dist/squirrelmail/functions/global.php* on line *85
> *
> I searched for a solution and came up emtpy.  Saw one reference in the
> archives but no solution.
>
> Tried with Mozilla 1.5.0.1 and IE 6.0.2800.1106.

>From <http://php.net/manual/en/ref.pcre.php>:

"Installation
Beginning with PHP 4.2.0 these functions are enabled by default. You can
disable the pcre functions with --without-pcre-regex. Use
--with-pcre-regex=DIR to specify DIR where PCRE's include and library
files are located, if not using bundled library. For older versions you
have to configure and compile PHP with --with-pcre-regex[=DIR] in order to
use these functions."

Hopefully, the above does the trick.

Sincerely,
Fredrik.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to