php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74522 PHP Fatal error: The Win32Service extension not work on PHP 7.1.0
Submitted: 2017-05-01 19:01 UTC Modified: 2018-10-08 18:33 UTC
From: anrdaemon at freemail dot ru Assigned: jbnahan (profile)
Status: Closed Package: win32service (PECL)
PHP Version: 7.1.4 OS: Win7/64
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: anrdaemon at freemail dot ru
New email:
PHP Version: OS:

 

 [2017-05-01 19:01 UTC] anrdaemon at freemail dot ru
Description:
------------
When trying to run PECL packaged extension with PHP 7.1.4/TS/64, the error message 

PHP Fatal error:  The Win32Service extension not work on PHP 7.1.0. Work with 7.1.1+ in Unknown on line 0

crash the interpreter.

Judging from build logs, this could be a build issue, since building environment indicates PHP Version: 7.1.0


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-02 10:48 UTC] ab@php.net
I've rescheduled the rebuild, which should be fine and available soon. Please redownload the required zip.

Still, this bug should be open, as the PHP version check should be done on runtime.

Thanks.
 [2017-05-02 21:06 UTC] jean-baptiste at nahan dot fr
Thanks you for opening this bug report.

This error is resolved with Win32Service extension version 0.2.1. Please download the new version and try again.

After validation by the author of bug report, this bug can be closed.
 [2017-05-03 09:38 UTC] ab@php.net
It doesn't look like fixed in 0.2.1, MINIT still matches against macros.

Thanks.
 [2018-08-20 17:34 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: jbnahan
 [2018-08-20 17:34 UTC] cmb@php.net
> It doesn't look like fixed in 0.2.1, MINIT still matches against
> macros.

Still not fixed in 0.3.0[1].  The problem with checking the
version (particularly PHP_RELEASE_VERSION) during *compile* time
is that this does not necessarily work for the pre-built DLLs on
PECL, which may be used with another PHP_RELEASE_VERSION as they
have been built with.

Jean-Baptiste, could you please have a look at this?

[1] <https://github.com/InExtenso/win32service/blob/v0.3.0/win32service.c#L653>
 [2018-08-27 14:44 UTC] jbnahan@php.net
Can you test this version 0.3.1 : https://ci.appveyor.com/project/macintoshplus/win32service/build/job/b3ehu77dv2pbcatd/artifacts

The version control is only on PHP Info section.
 [2018-10-08 18:33 UTC] jbnahan@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC