win32service on php 5.4
| From: | Momchil Bozhinov | Date: | Thu, 12 Sep 2013 12:26:30 +0000 |
| Subject: | win32service on php 5.4 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-31177@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to migrate from 5.3 to 5.4, but I hit a road block
I'm using this ext:http://windows.php.net/downloads/pecl/releases/win32service/0.1.0/
According to the documentation:http://www.php.net/manual/bg/win32service.constants.php
This one should exist:
WIN32_ERROR_CALL_NOT_IMPLEMENTED
but I get this:Notice: Use of undefined constant WIN32_ERROR_CALL_NOT_IMPLEMENTED - assumed
'WIN32_ERROR_CALL_NOT_IMPLEMENTED' in C:\xxx\win32_service..php on line 70
Unfortunately none of the example code works either:http://www.php.net/manual/bg/function.win32-set-service-status.php
The service won't start even after I replace WIN32_ERROR_CALL_NOT_IMPLEMENTED with
WIN32_SERVICE_RUNNING
Can anyone please test this ?
ThanksMomchil