Setting a PHP script as a Windows Service

后端 未结 7 1082
春和景丽
春和景丽 2020-12-01 03:29

I need to set up a PHP script as a windows service.

I need it to run regardless of which user is logged in, and on system start up - so it sounds like a windows ser

相关标签:
7条回答
  • 2020-12-01 03:59

    NSSM - the Non-Sucking Service Manager is also a solution, and then

    nssm install PHP php-cgi.exe -b 127.0.0.1:9000 -c C:\php\php.ini
    
    0 讨论(0)
提交回复
热议问题