2017-06-21 101 views
0

我试图在我的apache2服务器上安装elgg,但当我到达时仍然收到错误?安装页面埃尔格/ install.php了一步=要求Elgg安装错误:您的服务器不支持重写规则的自动测试,并且您的浏览器不支持通过JavaScript进行检查

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

回答

0

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

chmod 777 elgg-config 

如果您正在使用nginx的

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

我试过@enRaiser然后'sudo service apache2 restart',但结果相同。 –

+0

您是否运行作曲家更新。如果不知道它是什么。并运行 – enRaiser

+0

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