F.1. Apache

FunctionReturnsDescription
apache_child_terminate(void)
boolTerminates apache process after this request.
apache_note(string note_name [, string note_value])
stringGets and sets Apache request notes.
virtual(string filename)
boolPerforms an Apache subrequest.
getallheaders(void)
arrayAlias for apache_request_headers().
apache_request_headers(void)
arrayFetches all HTTP request headers.
apache_response_headers(void)
arrayFetches all HTTP response headers.
apache_setenv(string variable, string value [, bool walk_to_top])
boolSets an Apache subprocess_env variable.
apache_lookup_uri(string URI)
objectPerforms a partial request of the given URI to obtain information about it.
apache_get_version(void)
stringFetches Apache version.
apache_get_modules(void)
arrayGets a list of loaded Apache modules.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.