Title: &#8220;Disable All Features&#8221; Option Doesn&#8217;t Include PHP
Last modified: November 5, 2019

---

# “Disable All Features” Option Doesn’t Include PHP

 *  Resolved [heartwired](https://wordpress.org/support/users/heartwired/)
 * (@heartwired)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/)
 * I have the “Disable All Features” option set to “On”, but the plugin is still
   caching my .php files. Flushing the cache does nothing. The only way to see updates
   to my php files is to click “Save Changes” on the LiteSpeed Cache Settings page.
   I’ve also tried setting “Cache PHP Resources” to “No”, but that doesn’t help 
   either.
 * Here’s what’s showing up in the debug log:
    [05-Nov-2019 17:32:02 UTC] PHP Notice:
   Constant LITESPEED_DISABLE_OBJECT already defined in /home/site/public_html/wp-
   content/plugins/litespeed-cache/admin/litespeed-cache-admin-settings.class.php
   on line 967
 * Thanks

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

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12102555)
 * Hi [@heartwired](https://wordpress.org/support/users/heartwired/), could you 
   try to reinstall LiteSpeed cache? Also, did you set LITESPEED_DISABLE_OBJECT 
   somewhere on your code?
 *  Thread Starter [heartwired](https://wordpress.org/support/users/heartwired/)
 * (@heartwired)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12102596)
 * I’ve tried re-installing. Didn’t help. I am using Closte hosting, which includes
   Litespeed by default, so it’s possible they’re using it somewhere. I’ll have 
   to look into it.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12102768)
 * Ok, the PHP file not updating issue might be related to the object cache on your
   server. If you find disabling our plugin not help, you can check on your hosting
   object cache setting.
 *  Thread Starter [heartwired](https://wordpress.org/support/users/heartwired/)
 * (@heartwired)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12103336)
 * Sorry if I mislead you. Disabling the plugin fixes the caching issue, but when
   I activate the plugin, the issue returns. It’s definitely related to the plugin.
 *  Thread Starter [heartwired](https://wordpress.org/support/users/heartwired/)
 * (@heartwired)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12103343)
 * Okay, it looks like my host has a must-use plugin which includes the following:
 * if(!defined(“LITESPEED_DISABLE_OBJECT”)){
    define(“LITESPEED_DISABLE_OBJECT”,
   true); }
 * What exactly does this do?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12103793)
 * Could you please [join our Slack channel](https://join.slack.com/t/golitespeed/shared_invite/enQtMzE5ODgxMTUyNTgzLTNiNWQ1MWZlYmI4YjEzNTM4NjdiODY2YTQ0OWVlMzBlNGZkY2E3Y2E4MjIzNmNmZmU0ZjIyNWM1ZmNmMWRlOTk/)
   and find me by [@stanley](https://wordpress.org/support/users/stanley/) Cheung
   at Litespeed for reproducing the issue?

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

The topic ‘“Disable All Features” Option Doesn’t Include PHP’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/disable-all-features-option-doesnt-include-php/#post-12103793)
 * Status: resolved