Bug #15652 Updated: Request way to get API type

From: Date: Thu, 21 Feb 2002 08:46:56 +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-713@lists.php.net to get a copy of this message
ID: 15652 Updated by: yohgaki@php.net Reported By: cstdenis@hotmail.com -Status: Open +Status: Analyzed Bug Type: Feature/Change Request Operating System: all PHP Version: 4.1.1 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

« previous php.bugs (#713) next »