"call to undefined function apache_request_headers()" Code Answer


From the docs, before the release of PHP 5.4.0:

This function is only supported when PHP is installed as an Apache module.

PHP 5.4.0 and later support this function unconditionally.

Said docs also include replacement functions that mimic the functionality of apache_request_headers by stepping through $_SERVER.

By ccherreraher-a955f78990eb on August 20 2022

Answers related to “call to undefined function apache_request_headers()”

Only authorized users can answer the search term. Please sign in first, or register a free account.