"Richard Cyganiak" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> is there a way to tell at runtime if PHP is running as an Apache module or
> through CGI?
Replying to myself ... I found the answer, there's a function
php_sapi_name() for this purp
Hi all,
is there a way to tell at runtime if PHP is running as an Apache module or
through CGI?
phpinfo() shows this piece of information ("Server API" on the first page).
But is it available as a server variable or a constant or whatever?
I want to know this because I want to set the HTTP statu
2 matches
Mail list logo