APACHE Apache install
Apache uninstall
Apache configure
Apache setup
APACHE INSTALL You will have a binary file called httpd in the src directory. A binary distribution of Apache will supply this file.
The next step is to install the program and configure it.
Apache is designed to be configured and run from the same set of directories where it is compiled.
If you want to run it from somewhere else, make a directory and copy the conf, logs and icons  directories into it.
The next step is to edit the configuration files for the server.
This consists of setting up various directives in up to three central configuration files. By default, these files are located in the conf directory and are called srm.conf, access.conf and httpd.conf.
APACHE INSTALL To help you get started there are same files in the conf directory of the distribution, called srm.conf-dist, access.conf-dist and httpd.conf-dist. Copy or rename these files to the names without the -dist.
Then edit each of the files. Read the comments in each file carefully.
Failure to setup these files correctly could lead to your server not working or being insecure.
You should also have an additional file in the conf directory called mime.types. This file usually does not need editing.
First edit httpd.conf. This sets up general attributes about the server:
the port number, the user it runs as, etc. Next edit the srm.conf file; this sets up the root of the document tree, special functions like server-parsed HTML or internal imagemap parsing, etc. Finally, edit the access.conf file to at least set the base cases of access.
APACHE INSTALL In addition to these three files, the server behavior can be configured on a directory-by-directory basis by using .htaccess files in directories accessed by the server.
Code:yum install httpd
Code:yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
APACHE UNINSTALL REMOVE apache:
to remove apache, there are serveral way these are the ways i know
OPTION 1: Run this command if you installed apache with RPM or throug the automatic option during the Fedora/Red Hat OS installation.

Sahu