the Apache recovery after system reload
D:/APACHE2/BIN>HTTPD/? USAGE:HTTPD [-D name] [-D directory] [f-file] [-c ' directive '] [-c ' directive '] [-W] [-K start|restart|stop|shutdown] [- K Install|config|uninstall] [-N service_name] [-v] [-v] [-h] [-l] [-l] [-t] [s] Options:-D name:define a name for use In <ifdefine name> directives-d directory:specify A alternate initial serverroot-f file:specify an alternate Serverconfigfile-c "Directive": process directive before reading Config files-c "directive": process Directive after r eading config files-n name:set service name and use it serverconfigfile-k Start:tell Apache to Start-k restart:t Ell running Apache to doing a graceful restart-k Stop|shutdown:tell running Apache to shutdown-k install:install an APA Che service-k config:change startup Options an Apache service-k uninstall:uninstall an Apache service-w: Hold O Pen the console window on ERROR-E level:show startup errors's Level (= loglevel)-e file:log startup errors toFILE-V: Show version number-v: Show compile settings-h: List available command line options (this page)-l:list Co mpiled in Modules-l: List available configuration directives-t-D dump_vhosts:show parsed settings (currently only VH ost settings)-s:a synonym For-t-d dump_vhosts-t-D dump_modules:show all loaded modules-m: a synonym for-t-d UMP_MODULES-T: Run syntax check for config files d:/apache2/bin>
According to the help information, execute
D:/apache2/bin/httpd.exe-k Install
Apache is registered as a Windows service, with
D:/apache2/bin/net Start apache2.2