> 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.
>
> Any help would be greatly appreciated.

SquirrelMail contains configtest.php script. Could you use it before you
start connecting to http://your-server/squirrelmail/src/login.php.

FreeBSD ports disable all php extensions. Even default ones. If you don't
enable extension, it is not enabled.

SquirrelMail requires
(http://www.squirrelmail.org/wiki/SquirrelMailRequirements) session and
pcre extensions.

Use of mbstring and gettext extensions is recommended for good
internationalization support. Gettext is optional. Mbstring is required
for Japanese translation and optional for others.

Iconv or recode extension can be used by extra decoding library.
Extensions are optional. I don't recommend using extra decoding library on
bigger systems, if iconv or recode extensions are not present.

ldap extension can be used for ldap address books. It is optional. If
extension is not present, you should not see ldap address books even when
you enable them in SquirrelMail configuration.

ssl extension can be used for imaps and ssmtp support. If you use php 4.x,
ssl extension must be compiled into main php interpreter. It does not work
as shared extension.

gd extension can be used by image_buttons plugin.

mhash extension can be used in cram-md5 and digest-md5 authentications.

Some parts of code use xml extension. I think it is required only in
digest-md5 authentication.

Administrator plugin can use posix extension, but it won't break if
extension is not present.

-- 
Tomas


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