我的 magento 安装有什么问题?

whats wrong with my magento installation?

我正在尝试在我的笔记本电脑上安装 magento2,我刚刚安装了 mysql、PHP、phpmyadmin 并从官方网站下载了 magento 我也完成了 apache2 设置但是当我命中 http://localhost/magento this comes up instead of installation can anyone help me?

我的 Apache 状态

您的 php 未被解析。确保 apache 是 运行。看到这个 SO answer

根据您的屏幕截图,您似乎遇到了 AH00558: apache2: Could not reliably determine the server's fully qualified domain name 错误?

按照提示进行操作 here ...

i.e. create new file in /etc/apache2/conf-available/fqdn.conf

containing ... ServerName localhost

我只是缺少 php-dom 扩展所以刚安装

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

安装后,当我重新启动 apache 时,只有空白页面加载,然后朋友@Anima-t3d 帮助我

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?

然后添加了一个 conf 文件 /etc/apache2/conf-available/fqdn.conf,正如他所说,其内容为“ServerName localhost”,它刚刚起作用。