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 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:
MUST BE VALID
Solve the problem:
45 + 18 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 05:01:33 2024 UTC