Commit 84baa34
committed
Reconfigure the PHP Handler to be conditional on file existence
Set the handler to use for files whose extension ends in `.php`.
This is a workaround for docker-library/php#1576
The `FallbackResource` is a default Handler action which is only used if a Handler has not already been applied.
The docker/php image sets the handler unconditionally for any file whose name matches `.php`.
This configuration block unsets the default handler, and instead only applies it if the file exists.1 parent 76962d0 commit 84baa34
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments