Open diepdo1810 opened 6 months ago
Bump.
Have you set APP_DEBUG=false
in vercel.json
environment? Take a look php-laravel in this repo.
If you want to keep debugging enabled, make a custom env entry APP_LOG_FILE=/tmp/laravel.log
in vercel.json
and modify config/logging.php
:
// ...
'single' => [
'driver' => 'single',
'path' => env('APP_LOG_FILE', '/tmp/laravel.log'),
'level' => 'debug',
],
// ...
Haven't tried this before. Just posted on mobile.
Another problem is: remapping original bootstrap/cache
directory into writable /tmp/bootstrap/cache
.
Make sure that /tmp/bootstrap/cache
exists before everything is run. It could be done in the entry point index.php
to check and create the directories with mkdir()
recursively if it does not exist.
Update: it could be done with Redis or Memcached to handle the caches.
Bug report
ERR
File vercel.json
Description
PROJECT:
Please help me. Thanks everyone