php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #15652 Request way to get API type
Submitted: 2002-02-20 21:36 UTC Modified: 2002-02-24 07:27 UTC
From: cstdenis at hotmail dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.1.1 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cstdenis at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-02-20 21:36 UTC] cstdenis at hotmail dot 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 27 23:00:01 2025 UTC