Skip to content

@macintoshplus macintoshplus released this Dec 1, 2020

  • 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 error The 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 to Win32ServiceException 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 to Win32ServiceException.
    This exception is throw if function win32_start_service_ctrl_dispatcher is called when the control dispatcher is already started.
  • The PHP Warning Failed to start dispatcher thread has been converted to Win32ServiceException.
Assets 4
Pre-release
Pre-release

@macintoshplus macintoshplus released this Nov 5, 2020

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 error The 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 to Win32ServiceException 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 to Win32ServiceException.
    This exception is throw if function win32_start_service_ctrl_dispatcher is called when the control dispatcher is already started.
  • The PHP Warning Failed to start dispatcher thread has been converted to Win32ServiceException.
Assets 3
Pre-release
Pre-release

@macintoshplus macintoshplus released this Oct 29, 2020

DO NOT USE THIS VERSION IN PRODUCTION

  • Add more tests
  • Pre-PHP8 Version
Assets 3
Pre-release
Pre-release

@macintoshplus macintoshplus released this Jun 10, 2020

DO NOT USE THIS VERSION IN PRODUCTION

  • Upgrade to use the new PHP extension API
Assets 5
Pre-release
Pre-release

@macintoshplus macintoshplus released this Oct 23, 2019

DO NOT USE THIS VERSION IN PRODUCTION

  • add contact info
  • use VC15 instead VS16 to build
Assets 6

@macintoshplus macintoshplus released this Jul 9, 2019

  • Remove the PHP version check. For fix the PHP crashes when phpinfo is called by CGI SAPI. (issue #45)
  • Fix PHP 7.4 errors in object example (issue #46)
Assets 6

@macintoshplus macintoshplus released this Feb 20, 2019

  • Add win32_set_service_exit_mode and win32_set_service_exit_code functions
  • Add severals constants
  • Add win32_send_custom_control function
  • Add parameters (recovery, dependencies) for service configuration used with win32_create_service.
  • Disable PHP 7.0 build from AppVeyor (the branch is no longer supported by PHP project)

The build for PHP 7.4 work from the PHP 7.4.0alpha2 or newer

Assets 10

@macintoshplus macintoshplus released this Feb 14, 2019

Fix bug #42

This release is not built for PHP 7.0 because the build is broken for this PHP branch.
If you want this version for PHP 7.0, you need to build this extension yourself.

Assets 5

@macintoshplus macintoshplus released this Dec 10, 2018

The reporitory has been transfered to an independent GitHub organisation.
The new website is https://win32service.github.io

  • Removing the PHP version check for not working versions
  • Add support for PHP 7.3.
  • Fix bugs.
Assets 6