502 Bad Gateway Error and How to Fix it | Nginx Tips
www.scalescale.com › tips › nginxMay 14, 2013 · In regards to the issues between PHP-FPM and APC, what I found is that after a server reboot, PHP-FPM wouldn’t start any longer. I went and tried executing it manually from /usr/sbin/php-fpm <- this is where I saw there was an issue with APC, and after looking a bit online, I saw that by simply removing the "M" in /etc/php5/conf.d/apc.ini for the property: apc.shm_size=128 solved the issue.