Results 1 to 4 of 4
Thread: How to rebuild apache?
-
07-13-2005, 05:37 AM #1Junior Guru
- 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
-
07-13-2005, 08:39 AM #2Web Hosting Guru
- 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.
-
07-13-2005, 02:17 PM #3Temporarily Suspended
- Join Date
- Oct 2003
- Location
- Hanoi
- Posts
- 4,309
login SSH, and try /scripts/easyapache
-
07-13-2005, 02:31 PM #4Web Hosting Evangelist
- Join Date
- Nov 2003
- Posts
- 477
login SSH, and try /scripts/easyapache
Make sure you select GD support option