Skip to content

Instantly share code, notes, and snippets.

@welly
Created January 24, 2017 13:10
Show Gist options
  • Save welly/131a0d7e318b66bc488a77329cbf8bdd to your computer and use it in GitHub Desktop.
Save welly/131a0d7e318b66bc488a77329cbf8bdd to your computer and use it in GitHub Desktop.
# PHPENV Setup
<IfModule alias_module>
ScriptAlias /phpenv "/home/vagrant/.phpenv/shims"
<Directory "/home/vagrant/.phpenv/shims">
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mime_module>
AddType application/x-httpd-php5 .php
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
Action application/x-httpd-php5 "/phpenv/php-cgi"
RewriteEngine On
RewriteLog "/tmp/rewrite.log"
RewriteLogLevel 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment