|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74735 7.2.0alpha1 overwrites 7.1 extensions under 20160303 ext dir
Submitted: 2017-06-09 22:28 UTC Modified: 2017-06-13 11:58 UTC
From: bugs dot php dot net at majkl578 dot cz Assigned: cmb (profile)
Status: Closed Package: Dynamic loading
PHP Version: 7.2.0alpha1 OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugs dot php dot net at majkl578 dot cz
New email:
PHP Version: OS:


 [2017-06-09 22:28 UTC] bugs dot php dot net at majkl578 dot cz
PHP 7.2.0alpha1 overwrites PHP 7.1 extensions under the 20160303 API version. This is a serious issue as it breaks previous extensions, i.e. opcache complains about undefined symbols under 7.1.

Test script:
./configure --disable-all --enable-cli
make -j `nproc`
sapi/cli/php -n -i | grep extension_dir

Expected result:
7.1 should have different API version

Actual result:
extension dir refers to 20160303 API


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-09 22:33 UTC] spam2 at rhsoft dot net
Just define Prefix or extensiondir if you need more than one php version on your system - this is hardly a bug but a user error
 [2017-06-09 22:39 UTC] bugs dot php dot net at majkl578 dot cz
I don't think so - extension API should be bumped for minor versions. Each minor's extensions are installed in a versioned folder by default.

See here for:
 [2017-06-12 10:34 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: pollita
 [2017-06-12 10:34 UTC]
Sara, can you have a look at this, please?
 [2017-06-13 11:58 UTC]
-Status: Verified +Status: Closed -Assigned To: pollita +Assigned To: cmb
 [2017-06-13 11:58 UTC]
PR #2574 has been merged – closing.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 08 05:01:23 2021 UTC