Skip to content

Instantly share code, notes, and snippets.

@mistersourcerer
Created December 6, 2012 17:59
Show Gist options
  • Save mistersourcerer/4226563 to your computer and use it in GitHub Desktop.
Save mistersourcerer/4226563 to your computer and use it in GitHub Desktop.
Apache 4.2.3 on Mac with brew
# download apache apr
$ cd apr-1.4.6
$ LTFLAGS='--tag CC' CC=gcc-4.2 CPP=cpp-4.2 ./configure --prefix=/usr/local/Cellar/apr/1.4.6
$ make && make install
$ brew link apr
# download apache httpd
$ cd httpd-2.4.3
$ LTFLAGS='--tag CC' CC=gcc-4.2 CPP=cpp-4.2 ./configure --prefix=/usr/local/Cellar/httpd/2.4.3 --with-apr=/usr/local/Cellar/apr/1.4.6/
$ make && make install
$ brew link httpd
$ ab -V
This is ApacheBench, Version 2.3 <$Revision: 1373084 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment