Oct 7, 2020
0
Level 1
Nginx Laravel Hosting Error “open_basedir restriction in effect”
I have a Laravel app which works fine in my local environment, but not working correctly in nginx server when its host. I have given the permissions correctly for the storage folder.
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ErrorException: is_dir(): open_basedir restriction in effect. File(/web/resources/views/vendor/notifications) is not within the allowed path(s): (/var/www/clients/client3/web35/web:/var/www/clients/client3/web35/private:/var/www/clients/client3/web35/tmp:/var/www/my_website.com/web:/srv/www/my_website.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client3/web35/web/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:100
Please or to participate in this conversation.