Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 09:57:51 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PHP4 install question
Message-ID:  <20060331095751.2cc13972.wmoran@collaborativefusion.com>
In-Reply-To: <002e01c654cd$6a2ed200$0701a8c0@darryl>
References:  <002e01c654cd$6a2ed200$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
"Darryl Hoar" <darryl@osborne-ind.com> wrote:

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

/usr/ports/lang/php4-extensions

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060331095751.2cc13972.wmoran>