When running nginx, getallheaders isn't available so whenever _services_version_header_options() is called we get a nasty error.

I took one of the implementations from http://php.net/manual/en/function.getallheaders.php and added it to services.module.

Comments

logaritmisk’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

And the patch.

marcingy’s picture

Status: Needs review » Reviewed & tested by the community

This looks sane we might also want to do a similar thing for apache_request_headers when php is running in fpm obviously that is a seperate issue but the solution is 99% the same.

kylebrowning’s picture

Status: Reviewed & tested by the community » Fixed

fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.