BlueHost – PHP 7.x version – php handler htaccess code

Home Forums BulletProof Security Pro BlueHost – PHP 7.x version – php handler htaccess code

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #37831
    AITpro Admin
    Keymaster

    When you switch your PHP version in your BlueHost web host control panel to a PHP 7.x version, new php handler htaccess code is created at the very top of your Root htaccess file.  You will need to copy your BlueHost PHP 7.x version php handler htaccess code into BPS Custom Code before running the Setup Wizard.

    1. Turn off AutoRestore
    2. Unlock your root htaccess file on the BPS Pro > B-Core > htaccess File Editor page. Note: The reason for this is if your host adds php/php.ini htaccess code in your root htaccess file when you switch php server versions then you will need to copy that new php/php.ini handler htaccess code from your root htaccess file and add it in BPS Root Custom Code.
    3. Change/switch your PHP version to 7.3. in your web host control panel.
    4. Go to the BPS htaccess File Editor > Your Current Root htaccess File tab > copy the new php handler htaccess code that BlueHost adds at the very top of your root htaccess file and paste it into this BPS Root Custom Code text box: 1. CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE. IMPORTANT!!! Delete any other old php handler htaccess code that you see in this Custom Code text box.
    5. Click the Save Root Custom Code button. Note: If you are unable to save your custom code then click the Encrypt Custom Code button first and then click the Save Root Custom Code button.
    6. You can now run the BPS Pro Pre-Installation Wizard and the Setup Wizard.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.