▷ The configuration file wp-config.php is not writable - SOLUTION - FileTech Emprendimiento digital, Tutoriales y Tecnología
Oh Snap!

Please turnoff your ad blocking mode for viewing your site content

ad-mania

▷ The configuration file wp-config.php is not writable - SOLUTION

/
/
/
2109 Views

In today's digital world, keeping your website running smoothly is crucial. One of the most common problems that can arise is a permissions error in WordPress. Today, I'm going to show you how to fix errors related to the WordPress configuration file, specifically the wp-config.php. This tutorial is designed to be followed by any user, regardless of technical expertise.

steps to solve the problem with wp-config.php

  1. Server Access The first thing is to access your server where your website is hosted. In this example, we will use a server hosted on AWS. Once inside your administration console, locate and access the corresponding hosting service.
  2.  Use of the Terminal Next, open a terminal on your server. Don't worry if you are not familiar with using terminals, I will walk you through each step. Make sure the terminal is linked to the instance where your website is hosted.
  3. File Navigation and Location Using the command cdnavigate to the folder where the file is located. wp-config.php. Once there, use the command ls to list all the files inside the folder and locate the file wp-config.php
    COMMAND:
    cd /opt/bitnami/wordpress
  4. Permit Verification and Modification Use the command ls -l to view the current file permissions wp-config.php. To modify the permissions and resolve the error, copy and paste the following commands:
  5.  Restart Services After adjusting the permissions, it is crucial to restart the Apache server for the changes to take effect. The command to restart Apache will be available in the video description. Also, if your instance is hosted on AWS, it might be advisable to restart the instance to ensure that all changes are applied correctly.
sudo chmod 664 /opt/bitnami/wordpress/wp-config.php

This command sets the permissions of the file so that it is accessible and editable properly.

sudo /opt/bitnami/ctlscript.sh restart apache

Restart apache

Troubleshooting a permissions error may seem daunting, but with the right instructions, you can handle it without any problems. By following these steps, you'll ensure that your WordPress site runs smoothly without permissions-related outages.

This div height required for enabling the sticky sidebar
en_USEN