PHP Manual
Prev |  | Next

# XCVII. NSAPI-specific Functions

# Introduction

These functions are only available when running PHP as a NSAPI module in Netscape/iPlanet/SunONE webservers.

# Installation

For PHP installation on Netscape/iPlanet/SunONE webservers see the NSAPI section (UNIX, Windows) in the installation chapter.

# Runtime Configuration

The behaviour of the NSAPI PHP module is affected by settings in `php.ini`. Configuration settings from `php.ini` may be overridden by additional parameters to the php4_execute call in `obj.conf`

Table 1. NSAPI configuration options

Name | Default | Changeable | Changelog
--- | --- | --- | ---
nsapi.read_timeout | "60" | PHP_INI_ALL | Available since PHP 4.3.3.

For further details and definitions of the PHP_INI_* constants, see the Appendix G.

Here's a short explanation of the configuration directives.

nsapi.read_timeout integer

  Sets the time in seconds the plugin is waiting for POST data from the client.

# Resource Types

This extension has no resource types defined.

# Predefined Constants

This extension has no constants defined.

# See Also

NSAPI implements a subset of the functions from the Apache module for maximum compatibility.

Table 2. Apache functions implemented by NSAPI

Apache function (only as alias) | NSAPI function | Description
--- | --- | ---
apache_request_headers() | nsapi_request_headers() | Fetch all HTTP request headers
apache_response_headers() | nsapi_response_headers() | Fetch all HTTP response headers
getallheaders() | nsapi_request_headers() | Fetch all HTTP request headers
virtual() | nsapi_virtual() | Make NSAPI sub-request

Prev | Home | Next
newt_win_ternary | Up | nsapi_request_headers