Req #46488 [Opn->Csd]: get pathname of sapi
| From: | danack@php.net | Date: | Sun, 21 Jun 2015 13:05:48 +0000 |
| Subject: | Req #46488 [Opn->Csd]: get pathname of sapi | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193735@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=46488&edit=1
ID: 46488
Updated by: danack@php.net
Reported by: louis at steelbytes dot com
Summary: get pathname of sapi
-Status: Open
+Status: Closed
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: windows
PHP Version: 5.2.6
-Assigned To:
+Assigned To: danack
Block user comment: N
Private report: N
New Comment:
The name of the SAPI can be retrieved with the function php_sapi_name():
http://php.net/manual/en/function.php-sapi-name.php
Previous Comments:
------------------------------------------------------------------------
[2008-11-05 01:56:09] louis at steelbytes dot com
Description:
------------
I'd like to get the full path name of the current sapi (cgi/cli/isapi/etc).
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=46488&edit=1