Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    183

    How to rebuild apache?

    Hi,

    With the recent php updates, it's been necessary to rebuild apache to include them.

    this is easy in whm, couple of clicks, wait a few minutes and all done, lovely.

    My question is, what if apache was so broken, that whm wouldnt run, or more importantly to me, how do i rebuild apache with newly updated modules on a machine which doesnt have cpanel on it at all?

    Thanks,
    Dan

  2. #2
    Join Date
    Jul 2004
    Location
    Reporting Live from Marrz
    Posts
    257
    When you build Apache in WHM, if I remember well (not using cPanel anymore) it allows some verbose mode giving you the ./configure lines it uses.

    So you basically just cd to Apache's src folder and ./configure with same options.

    If you compile it from scratch, it is always good to keep the ./configure lines you have used saved in some TXT document for later use.

    Also see here:

    http://httpd.apache.org/docs/install.html
    http://httpd.apache.org/docs-2.0/install.html

    As far as I remember, cPanel saves the options used in last Apache rebuild from WHM somewhere, hence someone that uses cPanel might give you an insight on the location of saved conf.

  3. #3
    Join Date
    Oct 2003
    Location
    Hanoi
    Posts
    4,309
    login SSH, and try /scripts/easyapache

  4. #4
    Join Date
    Nov 2003
    Posts
    477
    login SSH, and try /scripts/easyapache
    that is all, script will do the rest of job.
    Make sure you select GD support option

Posting Permissions

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