Title: Prevent PHP Execution error
Last modified: January 24, 2018

---

# Prevent PHP Execution error

 *  Resolved [rdkcreative](https://wordpress.org/support/users/rdkcreative/)
 * (@rdkcreative)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/prevent-php-execution-error/)
 * Whenever I try to add the Prevent PHP Execution security tweak I get an error
   saying that the .htaccess file is not writable. The permissions are set to 644.
   What does it need to be in order to apply that fix?

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

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/prevent-php-execution-error/#post-9901655)
 * Hey [@rdkcreative](https://wordpress.org/support/users/rdkcreative/),
 * Hope you’re well.
 * Normally 644 is okay for writable files, but sometimes your webserver owner:group
   should be different and at that case 644 couldn’t be writeable from WordPress.
   First, you can ask that to your hosting provider about that.
 * If it does not solve can you try plugin conflict test? You just need to deactivate
   all other plugins and only try with Defender.
 * Cheers,
    Oguz
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/prevent-php-execution-error/#post-10096172)
 * Hello [@rdkcreative](https://wordpress.org/support/users/rdkcreative/)
 * Hope all is well!
 * We’ve not heard from you in a while. I’ve marked this ticket as resolved for 
   now, but if you need anything else at all, we’re here for you, please just reopen
   the ticket or create a new one.
 * Have a nice day and take care!
 * Cheers,
    Nastia

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

The topic ‘Prevent PHP Execution error’ is closed to new replies.

 * ![](https://ps.w.org/defender-security/assets/icon-256x256.gif?rev=3435930)
 * [Defender Security - Malware Scanner, Login Security & Firewall](https://wordpress.org/plugins/defender-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/defender-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/defender-security/)
 * [Active Topics](https://wordpress.org/support/plugin/defender-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/defender-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/defender-security/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/prevent-php-execution-error/#post-10096172)
 * Status: resolved