| Linode Forum https://forum.linode.com/ |
|
| Gateway Timeout Error Sending Emails https://forum.linode.com/viewtopic.php?f=11&t=5427 |
Page 1 of 1 |
| Author: | illusime [ Fri Apr 09, 2010 11:48 pm ] |
| Post subject: | Gateway Timeout Error Sending Emails |
After installing Nginx and stopping apache services, I always get the following error when sending out emails using my wordpress plugin. I'm using postfix for email server. How can I fix it?? 504 Gateway = Time-out nginx/0.5.33 |
|
| Author: | obs [ Sat Apr 10, 2010 6:48 am ] |
| Post subject: | |
Gateway timeout means that the PHP back end doesn't respond to the nginx server, what are you using to power PHP? Also..nginx0.5.33...that's so old. Upgrade to the 0.7 branch at least. |
|
| Author: | illusime [ Mon Apr 12, 2010 1:10 am ] |
| Post subject: | |
I have just upgraded to the latest nginx. However I'm still getting the same error. I'm using php fastcgi. How can I make it work? |
|
| Author: | obs [ Mon Apr 12, 2010 1:17 am ] |
| Post subject: | |
Can you post your nginx configuration? |
|
| Author: | illusime [ Mon Apr 12, 2010 1:59 am ] |
| Post subject: | |
I found this in the error.log. It might help: Code: www.vectordiary.com, request: "GET /feed/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.vectordiary.com" |
|
| Author: | illusime [ Mon Apr 12, 2010 2:04 am ] |
| Post subject: | |
Here is my nginx config file: Code: user www-data; Code: server {
|
|
| Author: | obs [ Mon Apr 12, 2010 3:43 am ] |
| Post subject: | |
illusime wrote: I found this in the error.log. It might help:
Code: www.vectordiary.com, request: "GET /feed/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.vectordiary.com" That error means your script is trying to increase PHP's memory limit, try increasing the memory limit in your php.ini Your nginx conf looks fine. |
|
| Author: | illusime [ Mon Apr 12, 2010 5:29 am ] |
| Post subject: | |
Thanks. That solved the problem |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|