Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 10:57:00 +0200
From:      Alex Dupre <ale@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>,  FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: PHP Warning: Unable to load dynamic library
Message-ID:  <5347AE5C.6020703@FreeBSD.org>
In-Reply-To: <20140411102756.06aa4878.ohartman@zedat.fu-berlin.de>
References:  <20140411102756.06aa4878.ohartman@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

O. Hartmann ha scritto:
> Since a couple of days by now I get bothered by this nasty error
> corrupting all the services provided via Apache24/PHP:
> 
> [...] PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/local/lib/php/20100525-zts/xsl.so' - Cannot open 
> &quot;/usr/local/lib/php/20100525-zts
> 
> This happens to all .so libraries, apache24 want to load upon
> start. The path is /usr/local/lib/php/20100525, NOT
> /usr/local/lib/php/20100525-zts.
> 
> I recompiled apache and all php stuff without option ZTS enabled to
> get rid of the wrong path, but it seems I didn't hit the culprit
> port.

You did exactly the opposite of what you had to do. As the WARNING
says, build lang/php5 with ZTS enabled and rebuild all extensions.

- -- 
Alex Dupre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/

iEYEARECAAYFAlNHrlwACgkQgRXp2M5fVU1WaQCeNAqH93QF5/uO9LhwucLUpJI3
HFUAn1T4KHDBUEngBE/QXEKG3RIwp85r
=Z0li
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5347AE5C.6020703>