How to check Internal Server Error?

I am just trying the new 2026 version an I have generated a new project (not opened an older 2023 one). I have only connected to the database and generated the project, I have not made any changes to it at all.

There were no errors with the project generation.

I upload it to the server wich is running PHP8.4 and I get this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Is there anything that else I need to do?
I have noticed that if I browse the directory the folder with the project in does not show in the directory, but it does go into it with the direct url.

I see that we are using .env files now, do I need to rename any of them?, and why dev and production? I also see that we are not using RewriteBase Directive now which was in the advanced settings.

Thank You.

When you see "Internal Server Error", always enable Debug to check the detailed error message. During development, always use the development mode (debugging will be enabled), not the "production" mode.

You probably have some missing PHP extensions, read: