From:             [EMAIL PROTECTED]
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

Reply via email to