nginx + php-fpm “504 Gateway Time-out” after compiling with curl support
Posted
by
Brian
on Server Fault
See other posts from Server Fault
or by Brian
Published on 2010-09-18T21:40:30Z
Indexed on
2013/10/19
21:59 UTC
Read the original article
Hit count: 459
We recently switched to managing php with php-fpm. It was working great, but is now giving me issues. The most recent change was to install libcurl-devel and re-compile php (5.3.3) using --with-curl.
Now I'm getting 504 timeouts with nginx and the pages won't load. HTML pages load fine, phpinfo() loads as well. Tried backing out the changes and re-compiling without curl support, but still not having any luck. Also tried adjusting request_terminate_timeout per some of the other posts here on SF without change. This is on a test machine that has no other clients hitting it. I also tried switching to unix socket instead of tcp--same result.
What am I missing here? Am I barking up the wrong tree with curl?
© Server Fault or respective owner