win32service

pecl install 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.

Maintainer

  • Richard Quadling (lead ) [inactive]
  • Jean-Baptiste Nahan (lead )
  • Jean-Baptiste Nahan (lead ) [inactive]

Details

Stars: 46
Issue openned: 2
Downloads: 20297
1.1.0beta2
22 days ago
Download DLL for processor with 64 bits architecture (x64)
PHP 8.3
Loading...
PHP 8.2
Loading...
PHP 8.1
Loading...
PHP 8.0
Loading...
Download DLL for processor with 32 bits architecture (x86)
PHP 8.3
Loading...
PHP 8.2
Loading...
PHP 8.1
Loading...
PHP 8.0
Loading...
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 1.1.0beta2 change log


* 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

requires:

  • php >=8.0.0
  • pearinstaller >=1.4.8