win32service

A Windows specific extension to allow PHP to interact with Windows Services.


The win32service extension is a Windows specific extension that allows PHP to communicate with the Service
Control Manager to start, stop, register and unregister services, and even allows your PHP scripts to run as a
service.

License: PHP License

Latest releases

Version Release Download
1.1.0beta3 2024-10-25 win32service-1.1.0beta3.tgz
1.1.0beta2 2024-09-16 win32service-1.1.0beta2.tgz
1.1.0beta1 2024-09-16 win32service-1.1.0beta1.tgz
1.0.2 2022-11-04 win32service-1.0.2.tgz
1.0.1 2021-12-09 win32service-1.0.1.tgz
Show all releases

Changelog

Version Message
1.1.0beta3 * Fix memory leak on Win32Service\RightInfo username and domain.

The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta3
1.1.0beta2 * Add object \Win32Service\RightInfo
* Add function win32_read_right_access_service()
* Add function win32_read_all_rights_access_service()
* Add function win32_add_right_access_service()
* Add function win32_remove_right_access_service()
* Add function win32_add_service_env_var()
* Add function win32_remove_service_env_var()
* Add function win32_get_service_env_vars()
* Add function win32_set_service_pause_resume_state()
* Some function are now disabled if PHP not run in Windows service context. See PHP Information.
* Use the `gen_stub.php` to generate arginfo header.

The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta1
1.1.0beta1 * Add object \Win32Service\RightInfo
* Add function win32_read_right_access_service()
* Add function win32_read_all_rights_access_service()
* Add function win32_add_right_access_service()
* Add function win32_remove_right_access_service()
* Add function win32_add_service_env_var()
* Add function win32_remove_service_env_var()
* Add function win32_get_service_env_vars()
* Add function win32_set_service_pause_resume_state()
* Some function are now disabled if PHP not run in Windows service context. See PHP Information.
* Use the `gen_stub.php` to generate arginfo header.

The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta1
1.0.2 * Rewrite some code (espectaly if/else instruction).
* Add more detail in exception message.
* Fix recovery settings error (issue [#71](https://github.com/win32service/win32service/issues/71))
The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.0.2
1.0.1 * Allow all function reserved for cli SAPI on embed SAPI. (@EionRobb) (issue [#63](https://github.com/win32service/win32service/issues/63))
* Update for PHP 8.1
The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.0.1
Show complete changelog