Reputation: 675
I'm trying to install magento2 on my laptop,I just installed mysql, PHP, phpmyadmin and downloaded magento from official site I've also done with the apache2 settings but when I hit http://localhost/magento this comes up instead of installation can anyone help me?
Upvotes: 1
Views: 67
Reputation: 675
I was just missing php-dom extensions so just installed
sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-cli php7.0-common php7.0-mbstring php7.0-gd php7.0-intl php7.0-xml php7.0-mysql php7.0-mcrypt php7.0-zip
after installing when I restart apache only blank page loads up then a friend @Anima-t3d help me
Your php isn't being parsed. Make sure apache is running.
Based on your screenshot it seems you are having a AH00558: apache2: Could not reliably determine the server's fully qualified domain name error?
then is added a conf file /etc/apache2/conf-available/fqdn.conf with content "ServerName localhost" as he said and it just worked.
Upvotes: 0
Reputation: 3565
Your php isn't being parsed. Make sure apache is running. See this SO answer
Based on your screenshot it seems you are having a AH00558: apache2: Could not reliably determine the server's fully qualified domain name error?
Follow the tips here ...
i.e. create new file in /etc/apache2/conf-available/fqdn.conf
containing ... ServerName localhost
Upvotes: 1