Where do I find the PERL compatible functions for php

Bill Campbell freebsd at celestial.com
Tue Oct 2 18:44:21 PDT 2007

On Tue, Oct 02, 2007, Andrew Falanga wrote:
>Installed PHP 5 using the ports collection in preparation for installing
>phpWebSite (a CMS system).  When trying to run the setup program (an
>index.php) file on the server I get, "*Fatal error*: Call to undefined
>function preg_match() in *
>/usr/local/www/apache22/data/phpwebsite_1_3_1/setup/index.php* on line *136"
>*.  I've found from the php.net web site that this is the PERL compatible
>regular expression stuff.  Since it's not there, how would I get it?

This is a build-time option with php, and requires the pcre libraries.

INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

I don't care how little your country is, you got a right to run it like
you want to.  When the big nations quit meddling, then the world will have
    Will Rogers

More information about the freebsd-questions mailing list