PHP 5.4 + Nginx + APC = 502 Bad Gateway?

I recently upgraded to PHP 5.4, and a month ago APC was not compatible, so I abandoned PHP 5.3, and everything worked fine and dandy. However, I would like to take advantage of the new PHP 5.4 features, and I cannot get it to work with my current setup. APC is supposedly now “compatible” with their latest beta, however I am getting the following errors:

[21-Apr-2012 22:56:53] WARNING: [pool www] child 12245 exited signal 11 (SIGSEGV) after 61.544928 seconds from the start

[Apr-21-2012 22:56:51] WARNING: [pool www] child 12250 exited signal 11 (SIGSEGV) after 43.367441 seconds from the start

etc.

My setup: nginx + php 5.4 via php-fpm plus APC. If I turn off APC, everything will be fine (albeit slowly haha).

Ive installed both beta and trunk, and none of them work. I just get the 502 Bad Gateway error on all EXCEPT pages for phpinfo (); page that works great.

What can I do? I'm google everywhere.

+3
source share

All Articles