© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
6 replies
TranceCode

APP_ENV=Production vs APP_ENV=local

Hello Guys, I have a problem. I developed an app with panels in FilamentPHP and added policies to it, so far so good, the problem arose when taking it to production with Laravel Forge... It turns out that when I try to access it it gives me a 403 Forbidden error, check if it was something with my policies and the problem is not there, check other things and nothing there, until I get to test the .env, and it turns out that when changing the variable
APP_ENV=production
APP_ENV=production
to
APP_ENV=local
APP_ENV=local
the application loads correctly... so it doesn't happen here I understand why this 403 block appears... any idea why it could be? I have another app that I created with Laravel and the .env file has the
APP_ENV=production
APP_ENV=production
and I send the BackOffice without problem, something that does not happen with Laravel and Filamentphp, it gives me problems... any ideas or suggestions?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

error 403 in production when my `APP_ENV=local` change to production
FilamentFFilament / ❓┊help
3y ago
Local app slowness
FilamentFFilament / ❓┊help
2y ago
Local Storage and Production storages differ
FilamentFFilament / ❓┊help
2y ago
Filament App slow in production
FilamentFFilament / ❓┊help
2y ago