NGinX Form Input Problem

Unai Rodriguez unai at leanservers.com
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:

<?php

phpinfo();

?>

Let us know if this works. 

-- 
Unai Rodriguez
CTO & Cofounder
LeanWired LLP
Singapore 168977
www.leanservers.com
unai at leanservers.com




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: http://forum.nginx.org/read.php?2,220816,220816#msg-220816
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org (mailto:nginx at nginx.org)
> http://mailman.nginx.org/mailman/listinfo/nginx
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120105/7b33a227/attachment.html>


More information about the nginx mailing list