Req #75386 [NEW]: report architecture in "php -v", e.g. x86, x64
| From: | maggus dot staab at googlemail dot com | Date: | Mon, 16 Oct 2017 10:05:46 +0000 |
| Subject: | Req #75386 [NEW]: report architecture in "php -v", e.g. x86, x64 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-211712@lists.php.net to get a copy of this message | ||
From: maggus dot staab at googlemail dot com
Operating system: any
PHP version: 7.0.24
Package: CGI/CLI related
Bug Type: Feature/Change Request
Bug description:report architecture in "php -v", e.g. x86, x64
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 bug report at https://bugs.php.net/bug.php?id=75386&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75386&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75386&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75386&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75386&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75386&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75386&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75386&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75386&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75386&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75386&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75386&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75386&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75386&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75386&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75386&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75386&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75386&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75386&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75386&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75386&r=mysqlcfg