Skip to content

Commit f5e7153

Browse files
eypsilonclaude
andcommitted
Add Vercel configuration for PHP runtime
Configures vercel-php runtime for get.php endpoint and sets up proper routing for /example directory to enable PHP execution. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent facd7a1 commit f5e7153

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

vercel.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"functions": {
3+
"example/get.php": {
4+
"runtime": "vercel-php@0.7.1"
5+
}
6+
},
7+
"routes": [
8+
{
9+
"src": "/example",
10+
"dest": "/example/index.html"
11+
},
12+
{
13+
"src": "/example/(.*)",
14+
"dest": "/example/$1"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)