Hi!
I have to learn to use the Nginx upload module, but I cannot install it :) .
http://www.grid.net.ru/nginx/upload.en.html
I've followed the install procedure (recompile Nginx with the module), I configured it as suggested on the official website (the link I've mentioned above). If I try the example script:
http://pastebin.com/cfMLRQkE
I get 503 Service Temporarily Unavailable error.
My nginx.conf looks like this (including the upload module settings):
http://pastebin.com/DhVw9xM9
If I try to point the form's action to the example script (i.e. to upload_example.php instead of /upload), it creates an empty table, it means that either array_key_exists($key."_name", $_POST) or array_key_exists($key."_path",$_POST) returns false - i.e. $_POST doesn't contain the expected values that the upload module should provide. In fact it contains the casual ["input"]["name"], ["input"]["tmp_name"] etc. values as in regular PHP.
I use Debian Squeeze if it makes any difference.
Any ideas what's wrong?