How to build a web environment phpstudy_pro boot from Kai windows

I remember once configuration detour.

The beginning is to configure the local web environment, win10 systems of phpstudy_pro. But this stuff with a nice, but can not boot from the start, even if you boot from the start point or useless, but the software itself from the start, the service does not start, I was ignorant of it, can not find the service since the launch options

Ever since, I just want those services directly to boot from Kai, take the detour is not non-tongue, and direct sun on my process

The first step, you should with a good site with good information, then this script tap on it

1 %1 %2
2 ver|find "5.">nul&&goto :Admin
3 mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :Admin","","runas",1)(window.close)&goto :eof
4 :Admin
5 xxx\Extensions\MySQL5.7.26\bin\mysqld --install
6 xxx\Extensions\Apache2.4.39\bin\httpd.exe -k install
7 net start apache2.4
8 net start mysql

Where xxx directory of your integration software, is behind the various components of this operation down, you do not have to open the software one by one service

To explain it

5,6 Installation Services

7-8 Start Service

It's that simple

 

Guess you like

Origin www.cnblogs.com/xfstu/p/11822874.html