MyBB Community Forums

Full Version: Problem with accessing php version 7.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am presently in the process of moving my forum from a Bluehost account which only offers php 7.0 to a Bluehost account which offers php 7.1. I have set the php manager to 7.1, yet the myBB forum I've created only shows 7.0 on the Dashboard. I've talked to Bluehost and they say I need to manually insert coding into the myBB software to be able to access 7.1.

Can someone help me with this or tell me if Bluehost is incorrect?

Thank you!
I can't see why you'd have to modify the source code of your website to access PHP 7.1.
(2018-08-09, 10:50 AM)Ben Cousins Wrote: [ -> ]I can't see why you'd have to modify the source code of your website to access PHP 7.1.

Yes, this seems very wierd.
@OP: Did you change the configuration of PHP version in the cpanel ? I remember bluehost has a PHP manager(Most of the CPanel ) offer this feature.
(2018-08-09, 12:04 PM)WallBB Wrote: [ -> ]Yes, this seems very wierd.
@OP: Did you change the configuration of PHP version in the cpanel ? I remember bluehost has a PHP manager(Most of the CPanel ) offer this feature.

Yes, I have changed the php version in Bluerock, which is the new Bluehost Control Panel. The php Manager also shows that I have 7.1, but the Dashboard of the myBB forum shows 7.0. I tested inserting the myBB Amnesia Plugin which only works with 7.1, and it didn't work so that's consistent with the myBB forum being 7.0.
They might've meant the directives included in .htaccess files: https://my.bluehost.com/hosting/help/hta...p-handlers - 7.1 is not listed but you can try
AddHandler application/x-httpd-php71 .php
otherwise you should contact them for more detailed instructions.
(2018-08-09, 01:59 PM)Devilshakerz Wrote: [ -> ]They might've meant the directives included in .htaccess files: https://my.bluehost.com/hosting/help/hta...p-handlers - 7.1 is not listed but you can try
AddHandler application/x-httpd-php71 .php
otherwise you should contact them for more detailed instructions.

Changing the php version in the .htaccess file worked! Thanks!

AddHandler application/x-httpd-ea-php71 .php