I am trying to switch from apache to nginx on my server. The only problem here is the getallheaders() function I used in my PHP scripts which does not work with Nginx. I have tried the user contributed notes on php site on getallheaders finction but that does not return all request headers.
Please tell me how to solve this problem. I would really like to switch to Nginx.
You can still use it but you will have to re-define/re-write it like here
http://www.php.net/manual/en/function.getallheaders.php#84262