Created
December 6, 2012 17:59
-
-
Save mistersourcerer/4226563 to your computer and use it in GitHub Desktop.
Apache 4.2.3 on Mac with brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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