I have made a fresh installation of magento 2.
Backend was displayed without any css/js format, bacause no file was placed in pub/static/adminhtml/Magento/backend/en_US/
folder.
I tried using php bin/magento setup:static-content:deploy -f
and the pub folders got filled with all files. Files have 777 permissions. If I try to access one of them (by url) after I get a 500 error. Administration is still broken and fronednfrontend is just a blank page.
What should I do to fix it?