NGinX Form Input Problem

Unai Rodriguez unai at
Thu Jan 5 03:49:44 UTC 2012

Do you get the error "502 bad gateway" with any PHP page? It seems PHP might not be working at all. I would recommend creating a very simple PHP page and testing if it works with the following content for example:




Let us know if this works. 

Unai Rodriguez
CTO & Cofounder
LeanWired LLP
Singapore 168977
unai at

On Thursday, January 5, 2012 at 7:51 AM, DeneB wrote:

> I have just recently set-up a new LEMP in Ubuntu 11.10 (64-bit) and
> running NGinX ver 1.0.5. the server is running fine but I cannot seem to
> get any forms to work. On my old server (windows) the forms worked fine,
> but now I get the following error "502 Bad Gateway".
> NGinX was installed with apt-get install, it is not a version that I
> compiled myself. Also I am running PHP5-Fastcgi.
> I have tried setting the forms to work in two different ways, one to
> write to a text file and also to write to MySQL database.....but with no
> luck.
> Any ideas on how to get the forms working again??
> Posted at Nginx Forum:,220816,220816#msg-220816
> _______________________________________________
> nginx mailing list
> nginx at (mailto:nginx at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list