Title: PHP downgraded by plugin
Last modified: March 17, 2021

---

# PHP downgraded by plugin

 *  [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/)
 * I am running on an old PHP. I reached out to my host and they say they are running
   the latest, so I may have a plugin that is forcing me on an older version. Does
   anyone know what might cause this?

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14196544)
 * No, a plugin cannot affect the version of PHP as that’s not part of WordPress.
   Do you have anything related to the PHP version in your .htaccess file?
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14335631)
 * Thx for Reply Steven
 * My htaccess, I don’t see anything affecting PHP:
 *     ```
       <IfModule mod_deflate.c>
           SetOutputFilter DEFLATE
           <IfModule mod_setenvif.c>
               # Netscape 4.x has some problems...
               BrowserMatch ^Mozilla/4 gzip-only-text/html
   
               # Netscape 4.06-4.08 have some more problems
               BrowserMatch ^Mozilla/4\.0[678] no-gzip
   
               # MSIE masquerades as Netscape, but it is fine
               # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
   
               # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
               # the above regex won't work. You can use the following
               # workaround to get the desired effect:
               BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
   
               # Don't compress images
               SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
           </IfModule>
   
           <IfModule mod_headers.c>
               # Make sure proxies don't deliver the wrong content
               Header append Vary User-Agent env=!dont-vary
           </IfModule>
       </IfModule>
       ```
   
 * Can a theme downgrade?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14336762)
 * WordPress does not set its own PHP version, so it’s something in your hosting
   stack.
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14379305)
 * What is the hosting stack?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14379839)
 * Something in the configuration of your web server or your .htaccess file. The
   file you posted is not a standard WP .htaccess file.
 *  [Petalo](https://wordpress.org/support/users/petalo/)
 * (@petalo)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14653574)
 * Hello Steven,
    WP was automatically upgraded to the latest version 5.0 and the
   website crashed showing a 500 error. Revising the .htaccess folder I found exactly
   the same as hebhansen,
 * <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE <IfModule mod_setenvif.c> #
   Netscape 4.x has some problems… BrowserMatch ^Mozilla/4 gzip-only-text/html
 *  # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4\.0[678]
   no-gzip
 *  # MSIE masquerades as Netscape, but it is fine
    # BrowserMatch \bMSIE !no-gzip!
   gzip-only-text/html
 *  # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    # the above regex 
   won’t work. You can use the following # workaround to get the desired effect:
   BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
 *  # Don’t compress images
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip
   dont-vary </IfModule>
 *  <IfModule mod_headers.c>
    # Make sure proxies don’t deliver the wrong content
   Header append Vary User-Agent env=!dont-vary </IfModule> </IfModule>
 * I can only fix problems through cPanel.
    Thank you for your help in anticipation.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14655740)
 * I strongly suggest contacting your host about this.

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

The topic ‘PHP downgraded by plugin’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wp upgrade](https://wordpress.org/support/topic-tag/wp-upgrade/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 7 replies
 * 3 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-downgraded-by-plugin/#post-14655740)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
