The returned strings can be found in the source code (of course!), this is the list I found (using [ http://lxr.php.net/ident?i=sapi_module_struct ]):
- aolserver
- activescript
- apache
- cgi-fcgi
- cgi
- isapi
- nsapi
- phttpd
- roxen
- java_servlet
- thttpd
- pi3web
- apache2filter
- caudium
- apache2handler
- tux
- webjames
- cli
- embed
- milter
php_sapi_name
説明
string php_sapi_name ( void )php_sapi_name() は、Web サーバと PHP (サーバ API、SAPI) の間のインターフェイスの型を小文字の文字列で返します。 CGI 版の PHP ではこの文字列は「cgi」となり、Apache の mod_php 版では この文字列は「apache」となるといったようになります。
PHP_SAPI も参照ください。
php_sapi_name
cheezy at lumumba dot luc dot ac dot be
14-Jul-2003 01:11
14-Jul-2003 01:11