Open bohdan-coderiver opened 10 months ago
Hi, I have to update libssl somehow.
Hi, can you try latest build?
vercel-php@0.6.1
- Node 18.x / PHP 8.2.x (https://example-php-8-2.vercel.app)vercel-php@0.5.4
- Node 18.x / PHP 8.1.x (https://example-php-8-1.vercel.app)vercel-php@0.4.3
- Node 18.x / PHP 8.0.x (https://example-php-8-0.vercel.app)vercel-php@0.3.5
- Node 18.x / PHP 7.4.x (https://example-php-7-4.vercel.app)I'm having the same issue because default node version is set to 20. It works after changed to 18.
I'm having the same issue because default node version is set to 20. It works after changed to 18.
How did you do that?
I'm having the same issue because default node version is set to 20. It works after changed to 18.
How did you do that?
Never mind, I found it.
Go to your dashboard on vercel
Project > Settings > General > Node.js Version Change from 20.x to 18.x
I'm having the same issue because default node version is set to 20. It works after changed to 18.
How did you do that?
Never mind, I found it.
Go to your dashboard on vercel
Project > Settings > General > Node.js Version Change from 20.x to 18.x
It works!
New version 0.7.1 released.
You can also do this in your package.json
"engines": {
"node": "18.x"
},
I have to set the node version to v18 this even with using version 0.7.1 for my runtime by the way
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.7.1"
}
},
Yes! It also works for me by changing node version 20.x to 18.x from project setting
I'm having the same issue because default node version is set to 20. It works after changed to 18.
How did you do that?
Never mind, I found it.
Go to your dashboard on vercel
Project > Settings > General > Node.js Version Change from 20.x to 18.x
Thank you. It works for me also.
Thanks a lot
Thnk bro, its worked
This worked! Great!
When I run the 'vercel build' command, I received an error like the one in the screenshot below. Could someone please explain why is that? Meanwhile vercel and vercel --prod work without any issues.
vercel.json
{ "version": 2, "functions": { "api/index.php": { "runtime": "vercel-php@0.6.0" } }, "routes": [ { "src": "/build/(.*)", "dest": "/public/build/" }, { "src": "/resources/(.*)", "dest": "/public/resources/" }, { "src": "/assets/(.*)", "dest": "/public/assets/" }, { "src": "/favicon/(.*)", "dest": "/public/favicon/" }, { "src": "/(.*)", "dest": "/api/index.php" } ], "env": { "APP_NAME": "personalBlog", "APP_ENV": "production", "APP_DEBUG": "true", "APP_CONFIG_CACHE": "/tmp/config.php", "APP_EVENTS_CACHE": "/tmp/events.php", "APP_PACKAGES_CACHE": "/tmp/packages.php", "APP_ROUTES_CACHE": "/tmp/routes.php", "APP_SERVICES_CACHE": "/tmp/services.php", "CACHE_DRIVER": "array", "LOG_CHANNEL": "stderr", "SESSION_DRIVER": "cookie", "VIEW_COMPILED_PATH": "/tmp/views", "SSR_TEMP_PATH": "/tmp/ssr", "NODE_PATH": "node" }, }