Win32service 1.0.2 is out!

Par @jbnahan69

Like last year and now two years, a version of Win32Service comes out almost at the same time as the new version of PHP.

This year, Win32Service received minor changes listed below:
- Code refactoring (mainly on if/else)
- Fixed a bug
- Added more details in \Win32ServiceException message.

Be careful, do not use the exception message to find the error. The exception code is more appropriate.

While fixing the bug, I discovered that it is not possible to use the "restart" recovery option. When registering the service, an error message related to authorization will be systematically returned. Even if you run the service registration script as an administrator.

A value inversion of the WIN32_SC_ACTION_REBOOT and WIN32_SC_ACTION_RESTART constants existed in the Win32Service documentation. This has also been corrected.

On the other hand, I'm working on a new website for the extension. I hope it will be available for 2023.

For the impatient, you can download version 1.0.2 for PHP 8.2-dev.

Author avatar
Jean-Baptiste Nahan

Consultant Expert Web, j'aide les entreprises ayant des difficultés avec leur projet Web.

@jbnahan69 | Macintoshplus | Linkedin | JB Dev Labs