Download Apache HTTPD server from the site:
$ sudo
./bin/apachectl -k stop
Pick: httpd-2.4.9.tar.gz
Extracting and Installing
Extract the contents into one of the user
repository locations i.e.
/Users//httpd
cd ~/httpd
To install apache you would need Apple Xcode, which can be dowloaded from apple app store. And you
would also need a command-line-tool installed.
Run following command to configure :
$ ./configure --prefix=PREFIX
Where , PREFIX is location or install dir ,
preferably /usr/local/apache
If you get error , following are the
resolution:
Apple in MacOS X 10.8 and 10.9 breaks
the ability to compile Apache modules.
Try going to:
/Applications/Xcode.app/Contents/Developer/Toolchains/ and do:
ln -s XcodeDefault.xctoolchain OSX10.9.xctoolchain
$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain
If you
get an error now , saying.
“error: stdio.h: No such file or directory”
You would need to download and install the command line tool package.
https://developer.apple.com/downloads/index.action
** if system complains, you would need to install the PCRE
package , follow the below instructions for the same.
Once you are able to configure apache installer
, now we would run the make and make install commands.
cd ~/httpd
$ make
$ make install
This will install apache server at the
following /usr/local/apache location.
$ Cd /usr/local/apache
$ Cd bin
You can start the modify the settings from
conf/httpd.conf file
Start and stop apache
$ sudo ./bin/apachectl -k start

Comments
Fantastic blog you got here,I enjoyed reading some of your posts.
PHP services in Birmingham
CMS website design Birmingham
WordPress Website design Birmingham