me10071990
4 months ago
901
21
Laravel

unable to create a temporary file in Unknown on line 0

Posted 4 months ago by me10071990

When I try to upload a file from the Admin panel (in laravel).

In the apache log on server, I'm seeing message below.

Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/) in Unknown on line 0, referer: https://newworld/admin/letter

Warning: File upload error - unable to create a temporary file in Unknown on line 0, referer: https://newworld/admin/letter

What I do now here?

Please sign in or create an account to participate in this conversation.