Bug #15652 Updated: Request way to get API type
| From: | sander@php.net | Date: | Sun, 24 Feb 2002 12:27:59 +0000 |
| Subject: | Bug #15652 Updated: Request way to get API type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-944@lists.php.net to get a copy of this message | ||
ID: 15652
Updated by: sander@php.net
Reported By: cstdenis@hotmail.com
-Status: Analyzed
+Status: Closed
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 4.1.1
New Comment:
Already implemented:
http://www.php.net/manual/en/function.php-sapi-name.php
Previous Comments:
------------------------------------------------------------------------
[2002-02-20 21:36:48] cstdenis@hotmail.com
There does not appear to be any way to check if the server is running
as a cgi or apache module.
The only option I could find is capturing and parsing the output of
phpinfo which is far from optminal.
I am requesting a feature that returns the api used for use in if
statments and such to determine program flow (as some features only
work on one of theses, or work differently)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15652&edit=1