Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 08:14:24 -0600
From:      "Darryl Hoar" <darryl@osborne-ind.com>
To:        <freebsd-questions@freebsd.org>
Subject:   PHP4 install question
Message-ID:  <002e01c654cd$6a2ed200$0701a8c0@darryl>

next in thread | raw e-mail | index | archive | help
Greetings,
I have a Freebsd 6-release machine.

I have installed /usr/ports/lang/php4
the usual way.  make  make install.

The problem I am having is that the application I am
trying to run barfs with an error:

Fatal error: Call to undefined function: preg_replace()
 in /usr/local/www/data-dist/webmail/functions/global.php
on line 85.

After some research, I found that I guess I need pcre in
PHP4.  

phpinfo() does not show --with-pcre-regex .  So, how do
I do this ?

thanks,
Darryl 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c654cd$6a2ed200$0701a8c0>