Skip to content

bpresles/homebrew-apache2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

homebrew-apache2

homebrew + Apache 2.4

Installation

brew tap bpresles/homebrew-apache2
brew install bpresles/apache2/httpd24

Configuration

You must configure a MPM module on /usr/local/etc/apache2/httpd.conf before using this apache build. To do so, add the following line to the config file:

For prefork MPM:

LoadModule mpm_prefork_module lib/apache2/modules/mod_mpm_prefork.so

For worker MPM:

LoadModule mpm_worker_module lib/apache2/modules/mod_mpm_worker.so

For event MPM:

LoadModule mpm_event_module lib/apache2/modules/mod_mpm_event.so

Using PHP

To use PHP with this apache formula, you must install (or reinstall) php55 with --homebrew-apxs option:

brew install homebrew/php/php55 --with-homebrew-apxs

or

brew reinstall homebrew/php/php55 --with-homebrew-apxs	

Also if you use a multithreaded mpm module in Apache, don't forget to build php55 with --with-thread-safety option:

brew install homebrew/php/php55 --with-homebrew-apxs --with-thread-safety

or

brew reinstall homebrew/php/php55 --with-homebrew-apxs --with-thread-safety

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages