From owner-freebsd-questions@FreeBSD.ORG Thu May 14 16:02:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8DB1065677 for ; Thu, 14 May 2009 16:02:50 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id E4E5E8FC1A for ; Thu, 14 May 2009 16:02:49 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 28800 invoked by uid 1002); 14 May 2009 16:02:46 -0000 Received: from unknown (HELO ?10.10.10.9?) (saifi.khan@twincling.org@59.96.41.109) by s217.sureserver.com with ESMTPA; 14 May 2009 16:02:46 -0000 Date: Thu, 14 May 2009 21:35:26 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: gdn In-Reply-To: <4A0C27A1.2020108@fxclub.org> Message-ID: References: <4A0C27A1.2020108@fxclub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: php5 pcre X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 16:02:51 -0000 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 "php_pcre_free" 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.