WebhostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server management

Updating Apache using Cpanel EasyApache




ramprage

Steve Leggett is the owner of WebHostGear.com and Wave Point Media Inc. He use to run and own his own web hosting company, Tower Host, which was recently sold. Steve now specializes in server administration and web development.

Updating Apache using Cpanel EasyApache

EasyApache is a pre configured script that allows you to easily update Apache Web server through WHM or SSH.
In this tutorial we will show you how to update apache using SSH /scripts/easyapache.

Requirements:
Root SSH access to your server

Login as root through SSH.
1) Login to your server and su - to root.

Run EasyApache
2) /scripts/easyapache

Select the options you want for your configuration
3) Type in 6 and press enter
Cpanel easyapache

You will be show the config options to build apache with.
4) Press space bar to select/deselect which options you want, use arrow keys to move and enter to go to sub menu.
Cpanel EasyApache

Go to PHP module options
5) Move cursor to PHP and press enter. You will now see more options you can select.
Cpanel EasyApache

Finishing Config options, Once you have selected your config options for Apache.
6)  Exit, Exit, Yes to safe config

Apache will recompiled with your options and modules
7) Wait for it to complete, this takes 15-30 minutes depending on the speed of your machine and options selected.

Apache restarts
8) You should see a message that says "httpd started ok". This means you're good to go and Apache is done!
Check your websites to ensure everything is okay and working properly.

Problems?
Go back to step 2 and change your options in the configuration, sometimes things don't work. If that doesn't work selecting minimal options then don't select Option 6 in step 3, instead select Option 5 or even 3 depending on your needs.

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new.

By : ramprage Rating : Average Rating : 6.40 From 35 Voter(s) Views: 23703 Date: June 7, 2004

Return to WebHostGear.com