-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vercel-php@0.6.0: php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory #504
Comments
Hi, I have to update libssl somehow. |
Hi, can you try latest build?
|
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? |
New version 0.7.1 released. |
You can also do this in your "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 |
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" }, }
The text was updated successfully, but these errors were encountered: