Releases: win32service/win32service
Releases · win32service/win32service
v1.0.2
- Rewrite some code (especially if/else instruction).
- Add more detail in exception message.
- Fix recovery settings error (issue #71)
PHP 8.2 build are available here: https://nahan.fr/download/win32Service-1-0-2-for-PHP-8-2-dev
PHP 8.3 build are available here: https://nahan.fr/download/win32service-1-0-2-for-php-8-3
Test publication
v1.0.2-dev2 change set output
Test publication release
change current name (#70) * change current name * fix use name variable * add upload artefact if tags
v1.0.1
v1.0.0
- Add
Win32ServiceException
(extends Exception) - The return value is no longer
false
when call method with wrong parameters- win32_start_service_ctrl_dispatcher
- win32_set_service_exit_mode
- win32_set_service_exit_code
- win32_set_service_status
- win32_create_service
- win32_delete_service
- win32_get_last_control_message
- win32_query_service_status
- win32_start_service
- win32_stop_service
- win32_pause_service
- win32_continue_service
- win32_send_custom_control
- Add check in array information provided to
win32_create_service
. On error, this method throw a ValueError. - For function
win32_send_custom_control
, the PHP errorThe control argument value is not between 128 and 255.
is now throw on ValueError. - For all function needed the service name, a ValueError is throw if the string is empty.
- The PHP Error
This function work only when using the CLI SAPI and called into the service code.
has been converted toWin32ServiceException
for this method- win32_start_service_ctrl_dispatcher
- win32_set_service_exit_mode
- win32_set_service_exit_code
- win32_set_service_status
- win32_get_last_control_message
- The PHP Warning
Service ctrl dispatcher already running
has been converted toWin32ServiceException
.
This exception is throw if functionwin32_start_service_ctrl_dispatcher
is called when the control dispatcher is already started. - The PHP Warning
Failed to start dispatcher thread
has been converted toWin32ServiceException
.
v1.0.0-alpha2
DO NOT USE THIS BUILD ON PRODUCTION
- Add
Win32ServiceException
(extends Exception) - The return value is no longer
false
when call method with wrong parameters- win32_start_service_ctrl_dispatcher
- win32_set_service_exit_mode
- win32_set_service_exit_code
- win32_set_service_status
- win32_create_service
- win32_delete_service
- win32_get_last_control_message
- win32_query_service_status
- win32_start_service
- win32_stop_service
- win32_pause_service
- win32_continue_service
- win32_send_custom_control
- Add check in array information provided to
win32_create_service
. On error, this method throw a ValueError. - For function
win32_send_custom_control
, the PHP errorThe control argument value is not between 128 and 255.
is now throw on ValueError. - For all function needed the service name, a ValueError is throw if the string is empty.
- The PHP Error
This function work only when using the CLI SAPI and called into the service code.
has been converted toWin32ServiceException
for this method- win32_start_service_ctrl_dispatcher
- win32_set_service_exit_mode
- win32_set_service_exit_code
- win32_set_service_status
- win32_get_last_control_message
- The PHP Warning
Service ctrl dispatcher already running
has been converted toWin32ServiceException
.
This exception is throw if functionwin32_start_service_ctrl_dispatcher
is called when the control dispatcher is already started. - The PHP Warning
Failed to start dispatcher thread
has been converted toWin32ServiceException
.
v1.0.0-alpha1
DO NOT USE THIS VERSION IN PRODUCTION
- Add more tests
- Pre-PHP8 Version
v0.4.2
- Add contact informations (web site...)
v1.0.0-dev
DO NOT USE THIS VERSION IN PRODUCTION
- Upgrade to use the new PHP extension API
v0.4.2-dev
DO NOT USE THIS VERSION IN PRODUCTION
- add contact info
- use VC15 instead VS16 to build