Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 21:35:26 +0000 (GMT)
From:      Saifi Khan <saifi.khan@twincling.org>
To:        gdn <gdn@fxclub.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php5 pcre
Message-ID:  <Pine.LNX.4.64.0905142135190.11451@localhost>
In-Reply-To: <4A0C27A1.2020108@fxclub.org>
References:  <4A0C27A1.2020108@fxclub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 May 2009, gdn wrote:

> Hi all!
> 
> I'm using on CURRENT apache22 with php5.
> When I install php5-extensions, all packages make fine.
> But module "pcre" not work.
> --------------------------------------------------------------------------
> >php -m                                             
> 
> [PHP Modules]
> bz2
> date
> libxml
> mbstring
> mysql
> pdf
> pdo_dblib
> Reflection
> session
> SimpleXML
> standard
> xml
> xmlrpc
> zip
> zlib
> 
> [Zend Modules]
> ---------------------------------------------------------------------------------
> 
> Log file of php:
> ----------------------------------------------------------------------------------
> [14-May-2009 18:04:50] PHP Warning:  PHP Startup: Unable to load
> dynamic librar
> y '/usr/local/lib/php/20060613/pcre.so' -
> /usr/local/lib/php/20060613/pcre.so:
> Undefined symbol &quot;php_pcre_free&quot; in Unknown on line 0
> [14-May-2009 18:04:50] PHP Warning:  Cannot load module 'PDO' because
> required
> module 'spl' is not loaded in Unknown on line 0
> -----------------------------------------------------------------------------------
> 
> Haw fix this problem?
> 
> Thanks,
> 
> 
> Dmitry.
> 

Please go back to directory /usr/ports/lang/php5-extensions

run make config and select PCRE and SPL among the extensions

Usually it is selected by default along with CTYPE, DOM, FILTER,
HASH, ICONV, JSON, PDO, PDO_SQLITE, POSIX, SESSION, SIMPLEXML,
SQLITE, TOKENIZER, XML, XMLREADER, XMLWRITER.

Please try a re-build and confirm.


thanks
Saifi.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0905142135190.11451>