I know that the question was asked thousand times. I'm trying to install Wordpress. My folder is in /www/html/wordpress. I have downlowded the project manually from wordpress site. In wp-in config.php my configuration is fine (I have other project with the same configuration, just db name is different). I set all the permissions to 755. I have configured the sites-avaiable (the virtualHost works when I test with some random index.html). Can someone tell me what else I can check ?
Asked
Active
Viewed 4,047 times
1 Answers
1
Are all directories and files owned by www-data? The web server can only access them if he owns them. If not just do a
$> sudo chown -R www-data:www-data wordpress/
-
I'm agree that, for regular setup, `www-data` must own the content of the WP's DocumentRoot, but *The web server can only access them if **it** own them.* is not correct statement :) – pa4080 Aug 01 '19 at 17:27
-
It didn't help :( – Sylwia Jeziorska Aug 02 '19 at 13:29
-
In my log file I have : hpmyadmin: Failed to load /etc/phpmyadmin/config-db.php Check group www-data has read access and open_basedir – Sylwia Jeziorska Aug 02 '19 at 13:30