Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • The details they provide do look pretty confusing.

    It’s worth trying the database server IP address they provide in place of ‘localhost’ in define(‘DB_HOST’, ‘localhost’);. The database may be on a different server to your site files, in which case ‘localhost’ won’t work.

    I’d try 35.21.239.28 followed by 11.17.26.5

    Forum: Localhost Installs
    In reply to: Nom d'Hote

    I don’t speak French but I think you’re facing a permissions issue.

    Open terminal in Ubuntu (ctrl alt+t) and enter:
    sudo chown -R www-data /var/www/html/yoursite

    This recursively gives ownership to your site files to www-data (the apache group). You should then be able to import themes/plugins etc through the WordPress dashboard.

    Once you have done this, if you need to change ownership back to your user (maybe you are editing theme files) enter:
    sudo chown -R $USER /var/www/html/yoursite

    Good luck

Viewing 2 replies - 1 through 2 (of 2 total)