Apache recovery after Windows system reload

Source: Internet
Author: User
the Apache recovery after system reload
D:/APACHE2/BIN&GT;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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.