Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2009
    Location
    in datacenter
    Posts
    2

    How to reload apache config on windows

    Hello, i have some problems reloading apache configuration on an windows machine.
    The restart command doesn't work, it did not reload the config.
    Actually i use a bat file within a cron that kill's the apache's processes and the start the process. The operation take about 30 - 40 sec depending how many connections are served in that moment by apache.

    It's there an apachectl similar command on windows ?

    Any help is really appreciated.

  2. #2
    Join Date
    Aug 2003
    Location
    Gods Own Country
    Posts
    869
    Blessen Cherian
    Follow me on twitter.com/blessenonly
    Over a decade plus in the Hosting Industry

  3. #3
    i has same problem about that. and sometimes i cannot running mysql server .

  4. #4
    Find service name from Administrative Tools -> Services, then create a .bat file add these commands:

    net stop ServiceName
    net start ServiceName
    Website Hosting by Rackset
    Professional, Affordable, Reliable

    Web Hosting Provider

  5. #5
    Join Date
    Mar 2005
    Location
    Athens, Greece
    Posts
    1,528
    If apache is not starting, maybe there are some errors in config? You can check the logs for more info.
    Antonis Adamakos @ FuzzFree :: Fully Managed Web Hosting, Development, Online Marketing

  6. #6
    Join Date
    Jul 2009
    Location
    in datacenter
    Posts
    2
    the net stop / net start works fine, i'll have used but the time needed for this operation take ~ 1 min, so i need a fast solution
    since the apchectl exist on linux i'm wondering if is the an similar command on windows.

    tx10 a lot for answers.

Similar Threads

  1. Easy::Apache v3.2.0 Build 4469 Apache Config
    By jgnr in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-26-2008, 08:23 AM
  2. What is need for this apache config?
    By sytker in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-13-2006, 02:14 PM
  3. Apache reload kills apache
    By alex_RM in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-29-2005, 06:37 AM
  4. libtool problem with config.lo while apache config/make
    By one1coolone1 in forum Dedicated Server
    Replies: 3
    Last Post: 04-20-2005, 11:15 PM
  5. What's the best way to reload/restart apache?
    By PhilG in forum Hosting Security and Technology
    Replies: 17
    Last Post: 08-20-2003, 02:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •