Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

chifoidriss's avatar

Error when I deploy my Laravel projet to my serveur about open_basedir restriction in effect

Error when I deploy my Laravel projet to my serveur about open_basedir restriction in effect

is_dir(): open_basedir restriction in effect. File(/home/sshhomede749_cam/bamendjo/storage/logs) is not within the allowed path(s): (/home/homede749:/var/tmp/.sessions/homede749:/tmp)

0 likes
2 replies
siangboon's avatar

write permission for few folders are required

After installing Laravel, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server or Laravel will not run. If you are using the Homestead virtual machine, these permissions should already be set.

Please or to participate in this conversation.