windows 中 手动 创建服务

参考文献

http://blog.csdn.net/moruna/article/details/9190733

使用sc命令

示例

[pcsh lang="php" tab_size="4" message="" hl_lines="" provider="manual"]

sc create wamp2apache binPath= "D:\Program Files\wamp\bin\apache\apache2.4.9\bin\httpd.exe -k runservice"
sc create wamp2mysql binPath= "D:\Program Files\wamp\bin\mysql\mysql5.6.17\bin\mysqld.exe wampmysqld"

[/pcsh]

 

 

此处评论已关闭