On 14-03-30 03:40 PM, Stuart Henderson wrote:
Do you get any clues from running php-fpm in the foreground and re-trying? # php-fpm-5.4 -F It may also be worth looking at the fastcgi messages between nginx and php-fpm for clues; first, if you're currently using a domain socket, temporarily switch to a localhost tcp socket, then try "tcpdump -nilo0 -s1500 -A" (or "ngrep -d lo0").

Turns out I've got php-fpm running correctly, it was an application-specific problem. Something deep in the bowels of the PHP ADODB library (which Cacti embeds) - dying/exiting with no warning. Aha, found it - trying to load the PHP "mysql" extension instead of "mysqli" and failing to even die correctly... y'know, PHP is such a *robust* language, I don't understand why we aren't busily re-coding all of OpenBSD's userland in PHP for increased reliability and safety!

Thanks for the tip on using tcpdump, though - that hadn't occurred to me.

--
-Adam Thompson
 athom...@athompso.net

Reply via email to