|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
1 + 45 = ?
Subscribe to this entry?

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 23 23:01:23 2020 UTC