FreeBSD Port: php5-mhash-5.2.11_1

David N davidn04 at gmail.com
Thu Dec 17 01:26:01 UTC 2009


2009/12/17 Raphael Becker <rabe at uugrn.org>:
> On Wed, Dec 16, 2009 at 02:29:08PM -0800, Simon Shapiro wrote:
>> Hey,
>> I just updated ports on a few machines and the CLI version of php
>> dumps its core rather than end nicely. The mhash module appears to be
>> the trigger (an extensions.ini with only mhash causes failure, all
>> others minus mhash: no failure).
>
> php coredumps here too, but uncommenting mhash.so from extensions.ini
> doesn't change this. Diabling all modules will show no segfault.
>
> It seems there is more than one defect .so from the following list:
>
> perl.so radius.so fileinfo.so gettext.so pdf.so hash.so json.so
> sockets.so iconv.so mbstring.so bz2.so pcre.so posix.so ctype.so zlib.so
> calendar.so bcmath.so imap.so ldap.so ftp.so zip.so openssl.so
> session.so dba.so soap.so xml.so wddx.so xmlwriter.so simplexml.so
> readline.so mhash.so tokenizer.so curl.so filter.so exif.so mcrypt.so
> spl.so sqlite.so xmlrpc.so mysql.so mysqli.so gmp.so dom.so xmlreader.so
> pdo.so pcntl.so pdo_mysql.so gd.so xsl.so pdo_sqlite.so
>
> Any idea?
>
> Regards
> Raphael
>
> --
> Raphael Becker <rabe at uugrn.org>                   http://rabe.uugrn.org/
>                             https://www.xing.com/profile/Raphael_Becker
> GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
> .........|.........|.........|.........|.........|.........|.........|..
>

Hi,

This is one of PHP's quirks, you need to load the extensions in the
right order, or it'll crash in CGI/FCGI mode and others.

I have mine in this order
extension=session.so
extension=bcmath.so
extension=ctype.so
extension=pcre.so
extension=simplexml.so
extension=spl.so
extension=dom.so
extension=filter.so
extension=hash.so
extension=iconv.so
extension=json.so
extension=ldap.so
extension=posix.so
extension=soap.so
extension=tokenizer.so
extension=xml.so
extension=xmlreader.so
extension=xmlwriter.so
extension=zip.so
extension=zlib.so
extension=pdo.so
extension=pdo_sqlite.so
extension=pgsql.so
extension=imap.so
extension=sockets.so
extension=gd.so
extension=curl.so

I got it from a  website, but i can't find it. Although it doesn't
have the mhash module, you might try moving up or down the list to see
when it doesn't crash.

Regards
David N


More information about the freebsd-ports mailing list