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?

- 531
- 1
- 9
- 18
-
Your php isn't being parsed. Make sure apache is running. See [this SO answer](https://stackoverflow.com/a/5121589/3163075) – Anima-t3d Dec 17 '17 at 15:22
-
that what I see in apache status can this be helpful to us? – pradeep murugan Dec 17 '17 at 15:27
2 Answers
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

- 3,431
- 6
- 38
- 56
-
Thanks a lot, for your FYI, I just reinstalled the php7 and after doing this fqdn.conf thing it worked thanks a ton! – pradeep murugan Dec 17 '17 at 15:51
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.

- 1
- 1

- 531
- 1
- 9
- 18