Title: PHP version reset
Last modified: August 22, 2016

---

# PHP version reset

 *  Resolved [oomkool](https://wordpress.org/support/users/oomkool/)
 * (@oomkool)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/)
 * I need php version 5.4 to run Moodle learning management system.
    Have just upgraded
   up to WordPress 4.0.1. The moment I activate the “Master htaccess BulletProof
   Mode” the php version of Bluehost reverts to php 5.2. and Moodle stops to work.
   The php remain on 5.4 if I use the normal wp-admin htaccess file, but then I 
   am not protected. What is the solution?
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533301)
 * 1. Copy your php 5.4 htaccess php/php.ini handler code to this BPS Root Custom
   Code text box: **CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE**
    2. Click the
   Save Root Custom Code button. 3. Go to the BPS Security Modes page, click the
   Create secure.htaccess File AutoMagic button and activate Root folder BulletProof
   Mode.
 *  Thread Starter [oomkool](https://wordpress.org/support/users/oomkool/)
 * (@oomkool)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533303)
 * Many thanks for the information I believe that it will rectify my problem.
    Is
   there a write up somewhere that will give me more details on how to perform this
   task?
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533307)
 * There is a link on the Custom Code page to this Custom Code video tutorial: [http://forum.ait-pro.com/video-tutorials/#custom-code](http://forum.ait-pro.com/video-tutorials/#custom-code)
   which shows how to add php/php.ini handler htaccess code to BPS Custom Code. 
   This is a general example so your particular php/php.ini handler code will look
   different. There are probably around 100 different php/php.ini handlers.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533309)
 * And to get your php/php.ini handler htaccess code you can either resave your 
   php server settings in your web host control panel or you can get the php/php.
   ini handler htaccess code from your web host’s website help pages.
 *  Thread Starter [oomkool](https://wordpress.org/support/users/oomkool/)
 * (@oomkool)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533310)
 * Many thanks! I appreciate your assistance.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533312)
 * Here is the BlueHost help page regarding changing your php version: [https://my.bluehost.com/cgi/help/128](https://my.bluehost.com/cgi/help/128)
   Unfortunately, they are not listing the php/php.ini handler htaccess code so 
   make sure your root htaccess file is not locked, then resave your php version
   settings and then copy the php/php.ini handler htaccess code that is added at
   the top of your root htaccess file and do the rest of the Custom Code steps above.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533418)
 * [duplicate thread post deleted]
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533419)
 * Assuming all questions have been answered – thread has been resolved. If you 
   have additional questions about this specific topic please post them.
 * Thread Start Date: 11-30-2014 to 12-1-2014
    Thread Resolved/Current Date: 12-
   2-2014

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

The topic ‘PHP version reset’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/php-version-reset/#post-5533419)
 * Status: resolved