Skip to content

Instantly share code, notes, and snippets.

@PJZ9n
Created May 11, 2020 16:15
Show Gist options
  • Save PJZ9n/93805ef83b776f77208008eff5a6d08f to your computer and use it in GitHub Desktop.
Save PJZ9n/93805ef83b776f77208008eff5a6d08f to your computer and use it in GitHub Desktop.
pharを勝手にPHPとして解釈させない
Header set Content-Disposition attachment
RemoveType .phar
RemoveHandler .phar
<FilesMatch \.phar$>
SetHandler text/plain
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment