Windows2018 nginx and php-pfm cannot be run in the background? I logged out and the server stopped running.

if the nginx+php7 php-pfm service logout system cannot be run on Ali Cloud windows server?
how do I turn it into a service running all the time?

I have some methods https://jingyan.baidu.com/art.
can only convert nginx to run in the background, but how can php-cgi be modified to start as a service?

ask for advice


sc create php binpath= "c:/php.exe" displayname= "php-fpm" start= auto

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8c765-10d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8c765-10d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?