Elgg installation hangs after warnings in Web installer

I have been trying to install Elgg in my VPS Server on Ionos, with Alma Linux 9.6 and Plesk Obsidian 18.0.71.2.

There, I have installed 2 WordPress sites and 1 Moodle site, all of them are running smoothly without problems.

When I try to install Elgg, if I use the .htaccess included in Elgg files, I got an Error 500 when trying to access the Web installer. If I delete de .htaccess file, I enter the Web installer fine, but then I get 2 Warnings:

1) In PHP: open_basedir directive can break file storing in data directory

2) In Web Server: It does not support Rewrite Rules.

When I try to continue installing, I get another Error 500.

Can you please help me fix this and get Elgg running properly?

 

  • I assume that you're using Apache as the webserver on your VPS.

    Maybe some/all of the modifications made in de .htaccess aren't allowed by Apache.

    In the vhost configuration of Apache make sure you have the following in your section where you configure the Elgg vhost.

    <Directory "/path/to/elgg/installation">
        AllowOverride All
        Require all granted
    </Directory>

    Also check the Apache error logs they may give you a hint what's wrong