Re-compiling apache

Discussion in 'Apache' started by pgmm, Jan 15, 2010.

  1. #1
    I have a copy of Apache running. It was compiled from source using GCC
    If I make changes to the config. files I believe it is necessary to recompile Apache.
    I am trying to find the command line that will recompile apache without affecting any content in the doc. files etc.
    Can anybody please help?
    Have a great weekend all
     
    pgmm, Jan 15, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    If you are changing the contents of httpd.conf you don't need to recompile just restart Apache or reload the configs.

    If you are playing with values in the source code, then just build it the same way as you did before and once it's installed your content should be accessible. You might want to make a copy of the config files just in case.
     
    tolra, Jan 15, 2010 IP
  3. pgmm

    pgmm Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for putting me straight on that, very helpful.
    Regards
     
    pgmm, Jan 17, 2010 IP