Created
September 27, 2013 23:47
-
-
Save IvanChepurnyi/6736788 to your computer and use it in GitHub Desktop.
This simple rewrite will help you to run phpunit from PHPStorm in Vagrant box without patching php.jar
This file contains hidden or 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
location ~ ^/_intellij_phpunit_launcher.php$ { | |
expires off; ## Do not cache dynamic content | |
set $args "$args&dir=$document_root&config=phpunit.xml.dist"; | |
fastcgi_pass unix://var/run/php5-fpm.sock; # Replace with your fpm pass | |
fastcgi_read_timeout 600; | |
include fastcgi_params; ## See /etc/nginx/fastcgi_params | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for this!