Date: Fri, 15 May 2009 12:34:53 +0400 From: Gorbatovsky Dmitry <gdn@fxclub.org> To: freebsd-questions@freebsd.org Subject: Re: php5 pcre Message-ID: <4A0D292D.4030508@fxclub.org> In-Reply-To: <Pine.LNX.4.64.0905142135190.11451@localhost> References: <4A0C27A1.2020108@fxclub.org> <Pine.LNX.4.64.0905142135190.11451@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Saifi Khan wrote: > 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. > When I run make config I see selected PCRE and SPL extensions and other default the extensions. But I rebuilding all modules, restarting apache and see same error: [15-May-2009 12:38:00] 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 Thanks, Dmitry.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0D292D.4030508>