Bug #15652: Request way to get API type
| From: | cstdenis at hotmail dot com | Date: | Thu, 21 Feb 2002 02:36:48 +0000 |
| Subject: | Bug #15652: Request way to get API type | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-698@lists.php.net to get a copy of this message | ||
From: cstdenis@hotmail.com
Operating system: all
PHP version: 4.1.1
PHP Bug Type: Feature/Change Request
Bug description: Request way to get API type
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 bug report at http://bugs.php.net/?id=15652&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15652&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15652&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15652&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15652&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15652&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15652&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15652&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15652&r=submittedtwice