Unreadable "dbconfig" file
Closed this issue · 6 comments
As I tried to install ts-website on my server, at Step 2 I got an error that says:
Cannot read the db config file! (/var/www/html/ts-website/private/php/../../private/dbconfig.php)
I set the ownership of the root directory of ts-website to www-data and restarted apache2 after the installation.
Can anyone tell me why I'm getting this error?
Does the file already exists? Try deleting it.
Yes, the file exists, but as I looked info it, it is empty. Is there expected to be any code in there?
No, it will be auto-filled with data at the end of the installation process. In step 2, it should be created by TS-website (with proper permissions), and the check should pass.
Try using PHP 7.4. PHP 8 is not supported yet.
Okay, thank you for the advice! It works now with PHP 7.4 installed.