@@ -54,7 +54,7 @@ Second file `vercel.json` is pure gold here. Setup your project with configurati
54
54
{
55
55
"functions" : {
56
56
"api/*.php" : {
57
- "runtime" : " vercel-php@0.5.2 "
57
+ "runtime" : " vercel-php@0.3.6 "
58
58
}
59
59
}
60
60
}
@@ -80,7 +80,7 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go!
80
80
## 🤗 Features
81
81
82
82
- ** Architecture** : PHP development server (🚀 fast enough)
83
- - ** PHP version** : 8.1.4
83
+ - ** PHP version** : 7.0.x
84
84
- ** Extensions** : apcu, bcmath, brotli, bz2, calendar, Core, ctype, curl, date, dom, ds, exif, fileinfo, filter, ftp, geoip, gettext, hash, iconv, igbinary, imap, intl, json, libxml, lua, mbstring, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, protobuf, readline, redis, Reflection, runkit7, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, swoole, timecop, tokenizer, uuid, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zlib, zip
85
85
- ** Speed** : cold ~ 250ms / warm ~ 5ms
86
86
- ** Memory** : ~ 90mb
@@ -90,9 +90,7 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go!
90
90
91
91
## 💯 Versions
92
92
93
-
94
-
95
-
93
+
96
94
97
95
## ⚙️ Usage
98
96
@@ -105,7 +103,7 @@ If you need to route everything to index, use `routes` property.
105
103
{
106
104
"functions" : {
107
105
"api/*.php" : {
108
- "runtime" : " vercel-php@0.5.2 "
106
+ "runtime" : " vercel-php@0.3.6 "
109
107
}
110
108
},
111
109
"routes" : [
@@ -180,19 +178,19 @@ project
180
178
{
181
179
"functions": {
182
180
"api/*.php": {
183
- "runtime": "vercel-php@0.5.2 "
181
+ "runtime": "vercel-php@0.3.6 "
184
182
},
185
183
186
184
// Can be list also directly
187
185
188
186
"api/index.php": {
189
- "runtime": "vercel-php@0.5.2 "
187
+ "runtime": "vercel-php@0.3.6 "
190
188
},
191
189
"api/users.php": {
192
- "runtime": "vercel-php@0.5.2 "
190
+ "runtime": "vercel-php@0.3.6 "
193
191
},
194
192
"api/books.php": {
195
- "runtime": "vercel-php@0.5.2 "
193
+ "runtime": "vercel-php@0.3.6 "
196
194
}
197
195
}
198
196
}
@@ -207,7 +205,7 @@ project
207
205
{
208
206
"functions" : {
209
207
"api/index.php" : {
210
- "runtime" : " vercel-php@0.5.2 "
208
+ "runtime" : " vercel-php@0.3.6 "
211
209
}
212
210
},
213
211
"routes" : [
@@ -227,7 +225,7 @@ Additional function properties are `memory`, `maxDuration`. Learn more about [fu
227
225
{
228
226
"functions" : {
229
227
"api/*.php" : {
230
- "runtime" : " vercel-php@0.5.2 " ,
228
+ "runtime" : " vercel-php@0.3.6 " ,
231
229
"memory" : 3008 ,
232
230
"maxDuration" : 60
233
231
}
@@ -254,7 +252,7 @@ project
254
252
{
255
253
"functions" : {
256
254
"api/*.php" : {
257
- "runtime" : " vercel-php@0.5.2 "
255
+ "runtime" : " vercel-php@0.3.6 "
258
256
}
259
257
}
260
258
}
@@ -293,7 +291,7 @@ project
293
291
{
294
292
"functions" : {
295
293
"api/*.php" : {
296
- "runtime" : " vercel-php@0.5.2 "
294
+ "runtime" : " vercel-php@0.3.6 "
297
295
}
298
296
}
299
297
}
@@ -318,7 +316,7 @@ Runtimes support excluding some files or folders, [take a look at doc](https://v
318
316
{
319
317
"functions" : {
320
318
"api/**/*.php" : {
321
- "runtime" : " vercel-php@0.5.2 " ,
319
+ "runtime" : " vercel-php@0.3.6 " ,
322
320
"excludeFiles" : " {foo/**,bar/config/*.yaml}" ,
323
321
}
324
322
}
0 commit comments