PHP4 install question

2006-03-31 Thread Darryl Hoar
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 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP4 install question

2006-03-31 Thread Bill Moran
Darryl Hoar [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]