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

takdw's avatar
Level 11

Errors deploying my Laravel application on Bitnami Cloud (through Google Cloud)

I have been trying to deploy my Laravel application to Google Cloud through the Bitnami LAMP stack. I keep getting permission errors from left and right. It seems like everything I try fails with some permission error. Currently, I'm getting:

SQLSTATE[HY000] [1130] Host '127.0.0.1' is not allowed to connect to this MySQL server (SQL: select * from `collections`) (View: /opt/bitnami/apps/photoarchive/resources/views/homepage.blade.php)

when I try to access the app through a web browser. I know I have not migrated the database but when I try to run php artisan migrate I get another permission error.

UnexpectedValueException  : The stream or file "/opt/bitnami/apps/photoarchive/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

Its really frustrating. How can I fix the issue?

0 likes
1 reply
rajtri's avatar

give permission to storage folder 777

Please or to participate in this conversation.