Skip to content
Advertisement

The post body is automatically printed when requesting a POST on nginx [closed]

JavaScript

I use nginx and php.

When I click the button on the above code, x=D was printed on my browser. (As you know, it is normal that nothing is printed.)

Also, I use AWS ELB(Elastic Load Balancing) proxy, so I doubted ELB first. However, when I turned off ELB, the problem occurs too.

This is my nginx configuration file.

JavaScript

Advertisement

Answer

I solved this problem.

I forget to upload php.ini.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement