Req #55319 [Opn->Fbk]: windows version not detected as it should be
Edit report at https://bugs.php.net/bug.php?id=55319&edit=1
ID: 55319
Updated by: pajoye@php.net
Reported by: todesw1nd at hotmail dot com
Summary: windows version not detected as it should be
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: *General Issues
Operating System: Windows 7 Professional SP 1
PHP Version: 5.3.7RC3
Block user comment: N
Private report: N
New Comment:
The detection code is correct, as in it uses the windows function with the correct
checks.
Can you paste here what you see on the computer properties dialog please? It could
be either a bug or a an alias issue in the GetProductInfo API.
Previous Comments:
------------------------------------------------------------------------
[2011-07-30 00:32:46] todesw1nd at hotmail dot com
"PHP Version 5.4.0alpha3-dev" and "PHP Version 5.3.7RC4" both say its
"build 7601 (Windows 7 Business Edition Service Pack 1)" whilst "PHP Version
5.3.7RC3" and earlier versions called it "build 7601 (Unknow Windows version Business
Edition Service Pack 1)" and like i already said it should be something like Windows
Professional as it is the standard professional edition.
------------------------------------------------------------------------
[2011-07-29 23:41:57] pajoye@php.net
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2011-07-29 21:30:20] todesw1nd at hotmail dot com
selected the wrong version, tested with rc3. new rc4 calls it "build 7601 (Windows 7 Business
Edition Service Pack 1)" but it should be "build 7601 (Windows 7 Professional Service Pack
1)"
------------------------------------------------------------------------
[2011-07-29 21:07:40] todesw1nd at hotmail dot com
Description:
------------
using the php_uname function with e.g. the 'v' flag gives a description that does not
exactly match the operating system installed.
this is a very minor thing, but i think i might report it ;)
ps: i don't know if that's important, but its a standard x86_64 edition of win7 with
service pack 1 installed as already mentioned above.
Test script:
---------------
echo php_uname('v');
Expected result:
----------------
build 7601 (Windows 7 Professional Service Pack 1)
Actual result:
--------------
build 7601 (Unknow Windows version Business Edition Service Pack 1)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55319&edit=1
Thread (9 messages)