note 108808 added to features.commandline.introduction
| From: | ivor dot oconnor at gmail dot com | Date: | Fri, 25 May 2012 23:39:40 +0000 |
| Subject: | note 108808 added to features.commandline.introduction | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188241@lists.php.net to get a copy of this message | ||
"From a shell, typing php -v will tell you whether php is CGI or CLI. See also the function
php_sapi_name() and the constant PHP_SAPI."
What in the following indicates this?
php -v
PHP 5.3.13 with Suhosin-Patch (cgi-fcgi) (built: May 8 2012 20:00:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
----
Server IP: 69.147.83.197
Probable Submitter: 173.58.12.170
----
Manual Page -- http://www.php.net/manual/en/features.commandline.introduction.php
Edit -- https://master.php.net/note/edit/108808
Del: integrated -- https://master.php.net/note/delete/108808/integrated
Del: useless -- https://master.php.net/note/delete/108808/useless
Del: bad code -- https://master.php.net/note/delete/108808/bad+code
Del: spam -- https://master.php.net/note/delete/108808/spam
Del: non-english -- https://master.php.net/note/delete/108808/non-english
Del: in docs -- https://master.php.net/note/delete/108808/in+docs
Del: other reasons-- https://master.php.net/note/delete/108808
Reject -- https://master.php.net/note/reject/108808
Search -- https://master.php.net/manage/user-notes.php