I've just managed to get the localhost version of a website I'm working on, onto our live server.
I'm having issues when it comes to permissions and who should own what etc.
When visiting the website it doesn't load the homepage, it brings up a download prompt instead.
I have set the permissions to www-data but obviously this isn't correct as like I said, it is prompting to download the website when opening the homepage.
What user should be assigned on the permissions, so the website is visible to the public?
Magento version is 1.9.2.2
Thank you.