OK, I understand. I can tell you, how my config.php looks like:
<?php
return array (
'debug' => true,
'database' =>
array (
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'flarum',
'username' => 'flarum',
'password' => '...',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
),
'url' => 'http://localhost/flarum',
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
);
Maybe creating that file by hand could help, but I'm only guessing, I never did that.