php
php copied to clipboard
error shared libraries: libssl.so
Question
All builds on Vercel returns the error:
php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
Same here, i cant get it to work. Hopefully we will get a solution.
same :point_up:
my vercel.json
{
"version": 2,
"builds": [
{ "src": "/api/index.php", "use": "vercel-php@latest" },
{ "src": "/public/**", "use": "@vercel/static" }
],
"routes": [
{
"src": "/(css|js)/(.*)",
"dest": "public/$1/$2"
},
{
"src": "/(.*)",
"dest": "/api/index.php"
}
],
"env": {
"APP_NAME": "Vercel Laravel",
"APP_ENV": "production",
"APP_DEBUG": "false",
"APP_URL": "https://php-laravel.vercel.app",
"VERCEL_DEMO_MODE": "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": "array",
"VIEW_COMPILED_PATH": "/tmp/views",
"SSR_TEMP_PATH": "/tmp/ssr",
"NODE_PATH": "node"
}
}
change your node.js version guys to 18.x, it will work. Make sure to edit a file on your repo or source after applying the changes so that it can redeploy. @nadar @Mashiane @tiagofrancafernandes
I am doing my best to fix support of newer Node.js. I will keep you in loop.
Hi, it should be fixed, can you try version 0.7.2?
https://example-php-8-3.vercel.app/