Title: cannot save wp-config.php
Last modified: August 20, 2016

---

# cannot save wp-config.php

 *  Resolved [edyzen](https://wordpress.org/support/users/edyzen/)
 * (@edyzen)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cannot-save-wp-configphp/)
 * Hello
    My site is [http://www.propertypilihan.com](http://www.propertypilihan.com)
   I have opened wp-config.php and then changed DB password in hosting control panel.
   But cannot save wp-config.php. Why ?
 * I ever active locked .htaccess
 * [http://wordpress.org/extend/plugins/bulletproof-security/](http://wordpress.org/extend/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cannot-save-wp-configphp/#post-3486951)
 * BPS would not prevent you from editing your wp-config.php file and saving those
   changes. Check that you have set the file permissions to 644 so that you can 
   edit and save your changes to the wp-config.php file. If you are unable to change
   the file permissions or if you change the file permissions to 644 and your changes
   are not saved then your Host might be restricting your from editing your wp-config.
   php file.
 * Or since you posted over here – [http://wordpress.org/support/topic/text-javascript-unknown-inserted-into-my-headerphp-1?replies=3](http://wordpress.org/support/topic/text-javascript-unknown-inserted-into-my-headerphp-1?replies=3)–
   that your website is already hacked then it is possible that the hacker is restricting
   you from editing the wp-config.php file.
 *  Thread Starter [edyzen](https://wordpress.org/support/users/edyzen/)
 * (@edyzen)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cannot-save-wp-configphp/#post-3486977)
 * Thanks AITpro
    I already changed file permission to 644 and I can save wp-config.
   php.

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

The topic ‘cannot save wp-config.php’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [edyzen](https://wordpress.org/support/users/edyzen/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/cannot-save-wp-configphp/#post-3486977)
 * Status: resolved