更新时间:2023-02-22 21:03:04
我想出了一个解决方案 :)
I come up with a solution :)
APACHE_HOME = C:/PATH/TO_APACHE
%APACHE_HOME%\bin\httpd.exe
到 %APACHE_HOME%\bin\httpdVendor.exe
%APACHE_HOME%\bin\httpd.exe
to %APACHE_HOME%\bin\httpdVendor.exe
php myscript.php
%APACHE_HOME%\bin\httpdVendor.exe -k runservice
exit 0
%APACHE_HOME%\bin\httpd.exe
%APACHE_HOME%\bin\httpd.exe
测试:Windows 7、Apache 2.4、Advanced Bat to Exe Converter 2.92
Tested on : Windows 7, Apache 2.4, Advanced Bat to Exe Converter 2.92