go to bug id or search bugs for
In PHP 5.3, and of course all version before it, Windows 7 is detected as 6.2, which would be Windows 8, which isn't released. So Windows 7, as 6.1 will turn into Unknow Windows version.(It's also should be Unknown, not Unknow).
build 7601 (Windows 7 Ultimate Edition Service Pack 1)
This is from my patch.
build 7601 (Unknow Windows version Ultimate Edition Service Pack 1)
Add a Patch
Add a Pull Request
Although the patch is generated from the older version, the bug still exists in branches/PHP_5_3.
Automatic comment from SVN on behalf of pajoye
Log: - Fixed bug #55258 (Windows Version Detecting Error) (already fixed in trunk/5.4)
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
Thanks for the report and patch, forgot to merge that fix in 5.3 back then.
This is a dupplicate of #52461