php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73607 win32_get_last_control_message() returns always zero
Submitted: 2016-11-25 12:44 UTC Modified: 2018-10-08 18:41 UTC
From: 1978 dot jl at gmail dot com Assigned: jbnahan (profile)
Status: Closed Package: win32service (PECL)
PHP Version: 5.6.29RC1 OS: All Windows
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: 1978 dot jl at gmail dot com
New email:
PHP Version: OS:

 

 [2016-11-25 12:44 UTC] 1978 dot jl at gmail dot com
Description:
------------
This problem was reported on stackoverflow (see the answers) :

http://stackoverflow.com/questions/15383037/extension-php-win32service-installs-the-service-but-the-service-wont-start-up

I have the same problem, but the specified workaround doesn't work for me.

The win32service package works with PHP 5.3 but in same condtions doesn't work on PHP 5.6.

Test script:
---------------
see the answers of:

http://stackoverflow.com/questions/15383037/extension-php-win32service-installs-the-service-but-the-service-wont-start-up


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-01 09:16 UTC] 1978 dot jl at gmail dot com
The problem appears after 5.3.28, confirmed in 5.4.44 and 5.6.28.

If I create a service based on php.exe (php.exe service.php), another problem is that the service stay in "starting service" state and don't pass in "service started" state.

A workaround is to detach a second process to do the job (via exec()), then the service starts correctly. I have tested with a thread (pthread) but without any success.
 [2017-05-02 21:13 UTC] jean-baptiste at nahan dot fr
Hi,

Have you the same issue with PHP 7.0+ ?

The new version 0.2.1 is now available.
 [2018-10-08 18:41 UTC] jbnahan@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jbnahan
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC