Bug #76262 [Opn->Nab]: phpinfo() show wrong version
| From: | ab@php.net | Date: | Wed, 25 Apr 2018 14:14:32 +0000 |
| Subject: | Bug #76262 [Opn->Nab]: phpinfo() show wrong version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214885@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76262&edit=1
ID: 76262
Updated by: ab@php.net
Reported by: arlyna dot bridges at ebix dot com
Summary: phpinfo() show wrong version
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Configuration Issues
Operating System: Windows 7
PHP Version: 7.1.16
Block user comment: N
Private report: N
New Comment:
Thanks for the report. I've checked the 7.1.16 builds and they show the correct version in the
phpinfo(). There's only one source of the version that is used anywhere in the core. Thus, you
likely to experience some configuration issue on your side. Please use the user support channels for
the further assistance.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-04-24 18:59:25] arlyna dot bridges at ebix dot com
Description:
------------
The version number of the PHP package: 7.1.16
Zip package downloaded from: https://windows.php.net/download/ PHP 7.1 (7.1.16)
(VC14 x86 Thread Safe (2018-Mar-29 06:18:44))
Apache: httpd-2.4.27-win32-VC14
Apache was previously working with PHP7.1.8 - and has this configuration:
LoadModule php7_module "d:/php/php7.1.8/php7apache2_4.dll"
PHPIniDir "d:/php/php7.1.8"
Now, the apache configuration is updated to:
LoadModule php7_module "d:/php/php7.1.16/php7apache2_4.dll"
PHPIniDir "d:/php/php7.1.16"
Apache service was stopped and started.
The old php folder (d:/php/php7.1.8) is deleted.
When running phpinfo() on web browser, it's showing old version & build date ( PHP Version
7.1.8 with build date: Aug 1 2017 20:56:01)
But on the apache2handler section, it's showing Apache running with the correct PHP 7.1.16.
Apache Version = Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.16
Test script:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
Version: PHP Version 7.1.16
Build Date: Mar 29 2018
Actual result:
--------------
Version: PHP Version 7.1.8
Build Date: Aug 1 2017 20:56:01
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76262&edit=1