Req #75386 [Com]: report architecture in "php -v", e.g. x86, x64
| From: | maggus dot staab at googlemail dot com | Date: | Mon, 16 Oct 2017 10:08:57 +0000 |
| Subject: | Req #75386 [Com]: report architecture in "php -v", e.g. x86, x64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-211713@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75386&edit=1
ID: 75386
Comment by: maggus dot staab at googlemail dot com
Reported by: maggus dot staab at googlemail dot com
Summary: report architecture in "php -v", e.g. x86, x64
Status: Open
Type: Feature/Change Request
Package: CGI/CLI related
Operating System: any
PHP Version: 7.0.24
Block user comment: N
Private report: N
New Comment:
I just realized that x64 is mentioned as expected.
the absence of a architecture seem to indicate x86. maybe this could be more explicit.
php -v
PHP 7.1.2 (cli) (built: Feb 14 2017 21:24:45) ( NTS MSVC14 (Visual C++ 2015) x64 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
Previous Comments:
------------------------------------------------------------------------
[2017-10-16 10:05:37] maggus dot staab at googlemail dot com
Description:
------------
when downloading extensions for your php installation you need to answer several questions to find
the correct version.
see e.g. http://windows.php.net/downloads/pecl/releases/ast/0.1.6/
there are variants like TS and NTS.
also you need to know whether x86 or x64 fits your system.
php -v already answers the question regarding TS/NTS but doesnt for x86 vs. x64
would be great to have this info contained in php -v.
Test script:
---------------
invoke "php -v" on CLI
Expected result:
----------------
PHP 7.0.14 (cli) (built: Dec 6 2016 15:35:45) ( x64/x86, NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
(difference in the 1st line: x64/x86)
Actual result:
--------------
PHP 7.0.14 (cli) (built: Dec 6 2016 15:35:45) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75386&edit=1