Skip to content

Instantly share code, notes, and snippets.

@tomhalley
Created March 30, 2015 14:55
Show Gist options
  • Save tomhalley/726abdc7425c51ced112 to your computer and use it in GitHub Desktop.
Save tomhalley/726abdc7425c51ced112 to your computer and use it in GitHub Desktop.
PHP Apache Config
<VirtualHost *:80>
ServerName 192.168.110.50
DocumentRoot /var/www/public
<Directory /var/www/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
SetEnv APPLICATION_ENVIRONMENT tom
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment