I am new to the magento development. I am trying to install magento 2.2.6 . My configurations
Apache/2.4.18 (Ubuntu)
PHP Version 7.0.32
Ubuntu 16.04
mysql 5.7.24
I have downloaded magento 2.2.6 (full release with sample data) from https://magento.com/tech-resources/download . then try to open localhost/magento.
It says
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500
while i try composer install command
it provides output
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
What is the problem why i cant open magento setup in my locahost
ANSWER
I have found what is wrong .. I check the error log file and found out var folder permission issue. After i provide permission it working properly
