win32service

Official repository of Win32Service extension for PHP

OTHER License

Stars
51

Bot releases are visible (Hide)

win32service - Latest Release

Published by github-actions[bot] about 1 month ago

win32service -

Published by github-actions[bot] about 1 month ago

win32service - v1.0.2

Published by macintoshplus almost 2 years ago

  • 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

win32service - Test publication

Published by macintoshplus over 2 years ago

win32service - Test publication release

Published by macintoshplus over 2 years ago

win32service - v1.0.1

Published by macintoshplus almost 3 years ago

  • Allow all function reserved for cli SAPI on embed SAPI. (@EionRobb) (issue #63)
  • Update for PHP 8.1
win32service - v1.0.0

Published by macintoshplus almost 4 years ago

  • 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.
win32service - v1.0.0-alpha2

Published by macintoshplus almost 4 years ago

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.
win32service - v1.0.0-alpha1

Published by macintoshplus almost 4 years ago

DO NOT USE THIS VERSION IN PRODUCTION

  • Add more tests
  • Pre-PHP8 Version
win32service - v0.4.2

Published by macintoshplus almost 4 years ago

  • Add contact informations (web site...)
win32service - v1.0.0-dev

Published by macintoshplus over 4 years ago

DO NOT USE THIS VERSION IN PRODUCTION

  • Upgrade to use the new PHP extension API
win32service - v0.4.2-dev

Published by macintoshplus almost 5 years ago

DO NOT USE THIS VERSION IN PRODUCTION

  • add contact info
  • use VC15 instead VS16 to build
win32service - v0.4.1

Published by macintoshplus over 5 years ago

  • 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)
win32service - Version 0.4

Published by macintoshplus over 5 years ago

  • 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

win32service - v 0.3.2

Published by macintoshplus over 5 years ago

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.

win32service - v0.3.1

Published by macintoshplus almost 6 years ago

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.
win32service - PHP 7.3 and version check

Published by macintoshplus almost 6 years ago

  • remove PHP version check
  • compatibility PHP 7.3
win32service - version 0.3.0 (2018-03-09)

Published by macintoshplus over 6 years ago

  • Add support for use a non admin account for start, stop, pause, resume service. Rights configuration is need on the target service.
  • Add support for PHP 7.2.
  • Fix bugs.

Download the pre-build extension for your PHP 7 installation here: https://pecl.php.net/package/win32service

win32service - Fix issue with PHP 7.1.4

Published by macintoshplus over 7 years ago

Fix issue with PHP 7.1.4 (#20)

  • Prepare build environment for test over build.cmd script
  • Used php-sdk-binary-tools.git
    Used php-sdk-binary-tools.git instead of php-sdk-binary-tools-20110915.zip
  • Add build_task.cmd
  • Fix 7unzip of deps and error detection
  • Some minor changes
  • Text four variants of php-7.1 branch
  • install.cmd script, more optimizations
  • Add artifacts
  • Fix adding artifacts
  • Fix appveyor environment for PHP-7.0 branch
  • Add APPVEYOR_REPO_TAG_NAME to new artifacts
  • Updating appveyor.yml
  • Remove commented lines
  • Change names of artifacts
  • Update .appveyor.yml
  • Fix issue with PHP 7.1.4
  • Fix issue with PHP 7.1.4: Not detect PHP RELEASE VERSION correctly
  • Update .appveyor.yml: change SDK BRANCH to master
win32service - Stable version for PHP 7.0 and 7.1

Published by macintoshplus over 7 years ago

No change from previous version 0.2.0-beta.1.

The Pecl web site is new up to date.