-
Notifications
You must be signed in to change notification settings - Fork 612
Closed
Description
Affected Page URL
https://www.php.net/downloads.php?usage=web&os=windows&osvariant=windows-downloads&version=default
Describe the bug
After installing and running PHP, the wrong version is reported.
Steps to reproduce
- Download php-devel-pack-8.5.1-nts-Win32-vs17-x64.zip.
- Unpack and install it.
- Modify the Path to include the location of the new installation.
- Open a new a shell window.
- Execute "php -v".
- Observe the wrong version reported:
PHP 8.5.0 (cli) (built: Nov 21 2025 13:38:22) (NTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Built by Beyond Code for php.new
Zend Engine v4.5.0, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies
Expected behavior
I expected version 8.5.1 to be reported, about like this:
PHP 8.5.1 (cli) (built: Dec 16 2025 [time]) (NTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Built by Beyond Code for php.new
Zend Engine v4.5.1, Copyright (c) Zend Technologies
with Zend OPcache v8.5.1, Copyright (c), by Zend Technologies
Screenshots
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels