Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 15:15:07 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-ports@freebsd.org
Subject:   www/pecl-APC default install breaks PHP
Message-ID:  <20110519051506.GA24782@rwpc13.mby.riverwillow.net.au>

next in thread | raw e-mail | index | archive | help

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Environment:
  FreeBSD 8.2-RELEASE i386
  pecl-APC-3.1.9
  php5-5.3.6
  apache-2.2.18

The www/pecl-APC port has just been updated from 3.1.7 to 3.1.9.  I
built and installed the updated port (default build), restarted apache,
and found that PHP pages failed to deliver output.  Checking the server
error log showed:

  PHP Fatal error:  Unknown: apc_fcntl_unlock failed: in Unknown on line 0

Google found me this pecl bug report which demonstrates that this is a
known problem since 3.1.8.

  http://pecl.php.net/bugs/bug.php?id=3D22688

Enabling the port's WITH_SPINLOCKS knob and rebuilding got things
working again for me.

--=20
John Marshall

--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk3Up1oACgkQw/tAaKKahKJZ1QCgvxPUTyoxKyOtufNwUndrLSsw
/20AoJIebn7voso6ZQVFNGW8E9EuQ/7w
=gGrk
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--



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