PHP4 install question

Darryl Hoar darryl at osborne-ind.com
Fri Mar 31 14:13:39 UTC 2006


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 




More information about the freebsd-questions mailing list