First of all: I'm new to Linux and web dev. I was a Dynamics NAV dev, so this whole things is totally new to me. I've been thrown to the deep end, so I'm trying to learn as much as
I installed Magento2 using Composer, and I can run bin/magento.
But, I can't run Magento on my browser. Running localhost just gives me white page. I can create a
HelloWorld.php on the same folder and run it no problem though. I have setup the
.htaccess and the config in apache2 folder.
I changed the permission to the whole
/var/www/html folder to www-data and now I can see Magento setup page. But now I can't run
bin/magento, because the permission is now on www-data.
- Who is supposed to be the owner for the /var/www/html folder? I'm supposed it's www-data?
- What's the correct setup here? Should I just put myself as part of the www-data?