Error while trying to install wordpress

Asked

Viewed 38 times

0

I’m trying to install the wordpress on my local server using xampp but I get the following error:

Sorry, but I can’t write the wp-config.php file.

You can create the wp-config.php file manually and paste the following text into it.

Someone would know how to get around it?

2 answers

0

You probably need to set wp-config.php to 644 or 640.

If it is Linux;

sudo chmod 644 wp-config.php

If it is Windows.

Right-click on the wp-config.php file -> Properties -> Security -> Edit -> Add -> Type "All" in the field and give Ok.

  • There is no such file.

0

Error message says you do not have write permission in the file wp-config.php.

Adding the Apache group www-data to the directory permissions group www:

sudo chown -R root:www-data /var/www/html/wordpress-project

And adding your user to this group already solves your problem:

sudo useradd -g www-data usuario
  • I’m using the shampoo.

  • Right. The xampp can be installed in 3 different operating systems! So that we can help in the best way possible, you need to pass more details, which operating system you use, for example?

  • Use the Ubuntu 16.04.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.