Bug #76262 [NEW]: phpinfo() show wrong version
| From: | arlyna dot bridges at ebix dot com | Date: | Tue, 24 Apr 2018 18:59:26 +0000 |
| Subject: | Bug #76262 [NEW]: phpinfo() show wrong version | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214876@lists.php.net to get a copy of this message | ||
From: arlyna dot bridges at ebix dot com
Operating system: Windows 7
PHP version: 7.1.16
Package: *Configuration Issues
Bug Type: Bug
Bug description:phpinfo() show wrong version
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 bug report at https://bugs.php.net/bug.php?id=76262&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76262&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76262&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76262&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76262&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76262&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76262&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76262&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76262&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76262&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76262&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76262&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76262&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76262&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76262&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76262&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76262&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76262&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76262&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76262&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76262&r=mysqlcfg