更新时间:2023-02-22 22:04: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中,阿帕奇2.4,蝙蝠先进的EXE转换器2.92
Tested on : Windows 7, Apache 2.4, Advanced Bat to Exe Converter 2.92