The Problem
I am running a Laravel 11 project with a Vue.js frontend on Fedora 43. The application runs perfectly when using 'php artisan serve'. However, when switching to a local Nginx + PHP-FPM setup, I encounter a 403 Forbidden error which eventually results in a request timeout.
Context
Based on my logs, the error appears to be specifically linked to the Xinax/laravel-gettext package functionality. When the application attempts to initialize or fetch translations via gettext, the request hangs or is denied.
Environment
OS: Fedora 43
Web Server: Nginx
PHP Version: 8.x (PHP-FPM)
Laravel Version: 11
Relevant Package: xinax/laravel-gettext