vercel-community / php

🐘 PHP Runtime for ▲ Vercel Serverless Functions (support 7.4-8.3)
https://php.vercel.app
MIT License
1.26k stars 291 forks source link

The /var/task/user/bootstrap/cache directory must be present and writable. #510

Open Drawilet opened 9 months ago

Drawilet commented 9 months ago

Bug report

The /var/task/user/bootstrap/cache directory must be present and writable. (View: /var/task/user/resources/views/layouts/guest.blade.php) (View: /var/task/user/resources/views/layouts/guest.blade.php)

Description

I am trying to deploy on vercel but i got this error The /var/task/user/bootstrap/cache directory must be present and writable. (View: /var/task/user/resources/views/layouts/guest.blade.php) (View: /var/task/user/resources/views/layouts/guest.blade.php)

f3l1x commented 7 months ago

Hi, you should use /tmp folder for cache and logs.