Created
July 13, 2015 04:23
-
-
Save gaulatti/a31486e5a92d72f83fe8 to your computer and use it in GitHub Desktop.
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
--- /usr/local/etc/apache2/2.2/original/httpd.conf 2014-12-05 20:14:50.000000000 -0500 | |
+++ /usr/local/etc/apache2/2.2/httpd.conf 2014-12-05 20:16:46.000000000 -0500 | |
@@ -38,7 +38,7 @@ | |
# prevent Apache from glomming onto all bound IP addresses. | |
# | |
#Listen 12.34.56.78:80 | |
-Listen 8080 | |
+Listen 8000 | |
# | |
# Dynamic Shared Object (DSO) Support | |
@@ -114,6 +114,15 @@ | |
LoadModule userdir_module libexec/mod_userdir.so | |
LoadModule alias_module libexec/mod_alias.so | |
LoadModule rewrite_module libexec/mod_rewrite.so | |
+LoadModule php5_module /usr/local/Cellar/php56/5.6.3/libexec/apache2/libphp5.so | |
+ | |
+<IfModule php5_module> | |
+ AddType application/x-httpd-php .php | |
+ AddType application/x-httpd-php-source .phps | |
+ <IfModule dir_module> | |
+ DirectoryIndex index.html index.php | |
+ </IfModule> | |
+</IfModule> | |
<IfModule !mpm_netware_module> | |
<IfModule !mpm_winnt_module> | |
@@ -455,7 +464,7 @@ | |
#Include /usr/local/etc/apache2/2.2/extra/httpd-info.conf | |
# Virtual hosts | |
-#Include /usr/local/etc/apache2/2.2/extra/httpd-vhosts.conf | |
+Include /usr/local/etc/apache2/2.2/extra/httpd-vhosts.conf | |
# Local access to the Apache HTTP Server Manual | |
#Include /usr/local/etc/apache2/2.2/extra/httpd-manual.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment