APC (latest stable 3.1.9) got segmentation fault when running with php 5.4.
*** glibc detected *** /opt/php/sbin/x86_64-redhat-linux-gnu-php-fpm: double free or corruption (out): 0x00007fa3e0fc88a0 ***
This turns out to be an issue with APC and it was fixed in the APC latest dev repo but not incorporated into a stable release yet. The main reason, as we see, is Zend’s interest in promoting php 5.5 which will come with Zend Optimizer to replace APC by default.
to fix:
git clone https://git.php.net/repository/pecl/caching/apc.git apc
cd apc
/opt/php/bin/phpize
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --prefix=/opt/php-5.4.36 --with-php-config=/opt/php-5.4.36/bin/x86_64-redhat-linux-gnu-php-config --enable-apc-pthreadrwlocks
make
make install