Elgg install error: Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript

Elgg install error: Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript

我正在尝试在我的 apache2 服务器上安装 elgg,但是当我进入安装页面时我一直收到错误 elgg/install.php?step=要求:

Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript. You can continue the installation, but you may experience problems with your site. You can manually test the rewrite rules by clicking this link: test. You will see the word success if the rules are working.

我已经完成了:

sudo chown -R $USER:$USER /var/www/html
sudo chmod 755 /var/www/html -R 

甚至:

sudo chmod 777 /var/www/html -R   

但没有成功。我不断收到警告。我没有做什么?不过,我可以创建数据库,甚至可以登录 PHPMyAdmin。

提前谢谢大家。

elgg-2.3.3

PHP

PHP 7.0.19-1 (cli) (built: May 11 2017 14:04:47) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.19-1, Copyright (c) 1999-2017, by Zend Technologies

APACHE

Server version: Apache/2.4.25 (Debian)
Server built: 2017-01-25T22:59:26

卡利 Linux

Linux rev 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

尝试更改 elgg-config 文件夹的权限。

chmod 777 elgg-config

如果您使用的是 nginx

location = /rewrite.php {
        rewrite ^(.*)$ /install.php;
    }

阅读此页。 https://httpd.apache.org/docs/2.0/misc/rewriteguide.html 转到 elgg 文件夹。 Elgg 的重写规则在文件 .htaccess