SAPI Differences PHP configuration

0
Your rating: None

PHP is not only available for many different operating systems, but it also offers native interfaces to a range of different Server APIs, or SAPIs in PHP lingo. The most common PHP SAPI is the Apache 1.3 module; others are CGI, CLI, the IIS filter, the embeddable version of PHP,and so on.

Some SAPIs offer PHP functions that are available only in that SAPI.
For example, the Apache 1.3 SAPI offers a function called apache_note() to
pass information to other Apache modules.

Table below shows some SAPI-specific functions.

Function SAPI Layers that Define It
ApacheRequest (class) apache_hooks
apache_lookup_uri apache, apache_hooks, apache2filter
apache_request_headers apache, apache_hooks, apache2filter
apache_response_headers apache, apache_hooks, apache2filter
apache_note apache, apache_hooks, apache2filter
apache_setenv apache, apache_hooks, apache2filter
apache_getenv apache, apache_hooks
apachelog apache, apache_hooks
apache_child_terminate apache, apache_hooks
apache_exec_uri apache, apache_hooks
getallheaders aolserver, apache, apache_hooks,apache2filter
smfi_setflags milter
smfi_settimeout milter
smfi_getsymval milter
smfi_setreply milter
smfi_addheader milter
smfi_chgheader milter
smfi_addrcpt milter
smfi_delrcpt milter
smfi_replacebody milter
virtual apache, apache_hooks, apache2filter

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Cumulus Tag Cloud

Kiran Says

SEO Architect,SEO Specialist reflect my values.

By enduring black hat methods the SEO industry is setting itself up for washout and sleepwalking into oblivion.

Jobs in India