Skip to content

Instantly share code, notes, and snippets.

@nickveenhof
Last active August 29, 2015 14:00
Show Gist options
  • Save nickveenhof/11385773 to your computer and use it in GitHub Desktop.
Save nickveenhof/11385773 to your computer and use it in GitHub Desktop.
# PHPENV Setup
<IfModule alias_module>
ScriptAlias /phpenv "/home/travis/.phpenv/shims"
<Directory "/home/travis/.phpenv/shims">
Order allow,deny
Allow from all
Require all granted
</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