#1. From cPanel
- Login to cPanel and go inside File Manager section.
- Now, go to WordPress installation directory and then find wp-config.php file.
- Right click over the file and then click over Edit.
You will be directed to editor page from where you can make changes as per your requirement.
#2. From FTP Client
- Login to your FTP Account using FileZilla.
- Enter the required credentials and Connect.
- List of all your WordPress files and directories will appear in Remote Site where you will find wp-config.php file.
- Right click over the file and then View/Edit.
The file will open in default editor of your PC from where you can edit its contents.
Check the blog to know more about wp-config.php file.