Problem with upload website developed by Symfony

Website URL

Other Information

I uploaded my website but the result is this:

Maybe the reason is that I have file “index.php” in the folder “public”.

Who can help me?

Excuse me, i don’t understand… do i have to put my profile picture?

Yes, /public will have index.php, but not the main site, so move index.php out of /public and into the main /htdocs

Ok, thank you so much! :heart_eyes:

Do I have to edit the file “index.php”?

Can you explain me why you write this phrase? Thanks friend

I would suggest this approach instead:

Using this .htaccess approach helps ensure you don’t accidentally make the .env file with all credentials available for public download.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.