Skip to content

Instantly share code, notes, and snippets.

@dwenaus
Created April 2, 2015 12:05
Show Gist options
  • Save dwenaus/7727f5140bc61556c229 to your computer and use it in GitHub Desktop.
Save dwenaus/7727f5140bc61556c229 to your computer and use it in GitHub Desktop.
apache conf
Listen 8000
<VirtualHost *:8000>
LoadModule php5_module /home/ubuntu/.phpenv/versions/5.6.2/libexec/apache2/libphp5.so
DocumentRoot /home/ubuntu/programs
DirectoryIndex index.php
ServerName localhost
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment