PHP4 install question

Bill Moran wmoran at collaborativefusion.com
Fri Mar 31 14:57:55 UTC 2006


"Darryl Hoar" <darryl at 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


More information about the freebsd-questions mailing list