www/pecl-APC default install breaks PHP

John Marshall john.marshall at riverwillow.com.au
Thu May 19 08:00:54 UTC 2011

  FreeBSD 8.2-RELEASE i386

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.


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

John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110519/af87fc0f/attachment.pgp

More information about the freebsd-ports mailing list