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
After a few days... i found this magnific option!
He build an .exe that recive the service options and works fine!
https://superuser.com/questions/628176/php-cgi-exe-as-a-windows-service/643676#643676
the command correct:
sc create FOO binPath= "service.exe \"C:\php\php-cgi.exe -b 127.0.0.1:9000 -c C:\php\php.ini"\" type= own start= auto error= ignore DisplayName= "FOO php"