Created
March 24, 2014 20:23
-
-
Save chris-ramon/9748340 to your computer and use it in GitHub Desktop.
php config
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
# htdocs on mac | |
# defined within | |
/etc/apache2/httpd.conf | |
<IfDefine WEBSHARING_ON> | |
# | |
# DocumentRoot: The directory out of which you will serve your | |
# documents. By default, all requests are taken from this directory, but | |
# symbolic links and aliases may be used to point to other locations. | |
# | |
DocumentRoot "/Library/WebServer/Documents" | |
# or place dirs and files within | |
/Users/USERNAME/Sites | |
# for accessing with | |
localhost/~USERNAME | |
# to enable php | |
Edit your /etc/apache2/httpd.conf and make sure the line: | |
LoadModule php5_module libexec/apache2/libphp5.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment