llevo desde hace no mucho empezando en el uso de VPS y máquinas Ubuntu y GNU/Linux para mantener mis webs, recientemente he estado usando el framework de php laravel, la cosa es que no logro averiguar el porqué no me detecta dicho script de php, en hostings normales (no siendo VPS) me los reconoce perfectamente y se inicia de manera correcta el instalador de Laravel.
Supongo que tendré algo mal configurado o no habré instalado alguna extensión de php, tengo actualmente instalado Mysql y phpmyadmin para la gestión de las BD.
Cualquier ayuda es bienvenida.
Edit:
error.log en /var/log/apache2
[Wed Aug 31 16:53:32.345880 2022] [mpm_prefork:notice] [pid 72225] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 31 16:53:32.459445 2022] [so:warn] [pid 72578] AH01574: module php_module is already loaded, skipping
[Wed Aug 31 16:53:32.479672 2022] [mpm_prefork:notice] [pid 72579] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Wed Aug 31 16:53:32.479689 2022] [core:notice] [pid 72579] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 31 16:53:43.081742 2022] [proxy_fcgi:error] [pid 72582] [client 162.158.129.48:27648] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ErrorException: file_put_contents(/var/www/lafama/storage/framework/views/ee1ed3c7bdbd2dbfeb142b3fed10c79b0d34ea5e.php): Failed to open stream: Permission denied in /var/www/lafama/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187\nStack trace:\n#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()\n#1 /var/www/lafama/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents()\n#2 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php(163): Illuminate\\Filesystem\\Filesystem->put()\n#3 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(55): Illuminate\\View\\Compilers\\BladeCompiler->compile()\n#4 /var/www/lafama/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37): Illuminate\\View\\Engines\\CompilerEngine->get()\n#5 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/View.php(139): Facade\\Ignition...PHP message: PHP Fatal error: Uncaught ErrorException: file_put_contents(/var/www/lafama/storage/framework/views/ee1ed3c7bdbd2dbfeb142b3fed10c79b0d34ea5e.php): Failed to open stream: Permission denied in /var/www/lafama/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187\nStack trace:\n#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()\n#1 /var/www/lafama/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents()\n#2 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php(163): Illuminate\\Filesystem\\Filesystem->put()\n#3 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(55): Illuminate\\View\\Compilers\\BladeCompiler->compile()\n#4 /var/www/lafama/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37): Illuminate\\View\\Engines\\CompilerEngine->get()\n#5 /var/www/lafama/vendor/laravel/framework/src/Illuminate/View/View.php(139): Facade\\Ignition...', referer: https://lafamadventures.cf/
[Wed Aug 31 16:54:38.820530 2022] [mpm_prefork:notice] [pid 72579] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 31 16:54:38.929567 2022] [so:warn] [pid 72611] AH01574: module php_module is already loaded, skipping
[Wed Aug 31 16:54:38.942736 2022] [mpm_prefork:notice] [pid 72612] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Wed Aug 31 16:54:38.942755 2022] [core:notice] [pid 72612] AH00094: Command line: '/usr/sbin/apache2'```
Got error 'PHP message: PHP Fatal error: Uncaught ErrorException: file_put_contents
Permission denied
Revisa si el apache está en el mismo grupo que la carpeta donde tienes la aplicación. Aquí unas recomendaciones adicionales sobre cómo mejorar la calidad de las preguntas: es.meta.stackoverflow.com/a/4433/822 Saludos.