Title: Backup wp-config.php-file failure
Last modified: August 21, 2016

---

# Backup wp-config.php-file failure

 *  Resolved [braindream](https://wordpress.org/support/users/braindream/)
 * (@braindream)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/backup-wp-configphp-file-failure/)
 * Similar to backup htaccess-failure (see my post) backing up the wp-config.php-
   file fails and returns the following message:
 * Warning: copy(/www/htdocs/…/…/wp-config.php.backup) [function.copy]: failed to
   open stream: Permission denied in /www/htdocs/…/…/wp-content/plugins/all-in-one-
   wp-security-and-firewall/classes/wp-security-utility-file.php on line 49
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 155
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 156
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 157
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 158
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 159
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 160
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 161
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/…/…/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/
   wp-security-utility-file.php:49) in /www/htdocs/…/…/wp-content/plugins/all-in-
   one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 162
 * [http://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](http://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 1 replies (of 1 total)

 *  [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/backup-wp-configphp-file-failure/#post-4238168)
 * This issue is pretty much the same as your other post here so we will close this
   one:
    [http://wordpress.org/support/topic/backup-htaccess-failure](http://wordpress.org/support/topic/backup-htaccess-failure)

Viewing 1 replies (of 1 total)

The topic ‘Backup wp-config.php-file failure’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [All In One WP Security Plugin](https://wordpress.org/support/topic-tag/all-in-one-wp-security-plugin/)
 * [failure](https://wordpress.org/support/topic-tag/failure/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * 1 reply
 * 2 participants
 * Last reply from: [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/backup-wp-configphp-file-failure/#post-4238168)
 * Status: resolved