Anyone running Grav on PHP 8.3 and Ubuntu 24.04

New droplet on DigitalOcean, trying to simply run Grav and get a simple webpage. Followed instructions at DigitalOcean | Grav Documentation to set up new host to support Grav. DigitalOcean provided significant support, but can’t find any reason we get nothing on the web server other than 404 Not Found / nginx/1.24.0 (Ubuntu). They are suggesting that maybe Grav does not support, or has a different configuration requirement for this combination of PHP 8.3 and Ubuntu 24.04.

Anyone else having success with this combination?

Thanks,
dlundste

@dlundste, Running Grav 1.7.48 on Ubuntu 24.04 with PHP 8.3.6 inside WSL on Windows 11.

No problems at all…

1 Like

Grav works with PHP 8.3 and Ubuntu 24.04, so it’s likely an Nginx config issue. Make sure your root points to Grav’s web directory and that index.php is included in the index directive, matching your PHP-FPM socket path.

1.- Try to fix permissions on /public_html:


chgrp -R apache .
find . -type f | xargs chmod 664
find ./bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002

2.- Restart nginx

Reference:

Hope this help, regards.