I am trying to install Flarium on Ubuntu 18. My PHP version is 8.1 But all is see is Index Of / Files only.
I have tried multiple option but just lose like 4 hours of my time with no fix.
I have run the installer command "composer create-project flarum/flarum ." on var/www/site.com/
my site.com.conf file looks like this:
ServerAdmin info@site.com
ServerName site.com
ServerAlias www.site.com
DocumentRoot /var/www/site.com/public
I have edited the .htaccess file in the public folder like this:
below is the start or first line of the code
<IfModule mod_rewrite.c>
RewriteEngine on
<Directory "/var/www/site.com/public">
AllowOverride All
</Directory>
When I do php flarum info it says "Command "info" is not defined."