Yeah I've done that which is how I found the problem in the first place.Whilst your home page is running PHP Version 5.6.37, your forums are actually running on 5.4.45. Visit your forums home page and add info.php onto the URL to see this (which I've just done to check).
From what I've been reading it has something to do with .htaccess but I can't find that file anywherewow! how is that even possible?
wow! how is that even possible?
Issue that @Mr Lucky had on one of my servers, as the there were multiple .htaccess and cPanel inserts the PHP handler code into there, so different directories for the same domain can run different PHP versions.Haven't we had a similar situation before?
You have something on the server that is conditionally overriding the PHP version used specifically in certain directories:
MG 1.1 - Trouble with Watermarks
If I use php 5.4 watermark works, but anything above that php 5.6 or php 7.0 I get errors "Cannot watermark without ImageMagick installed." When I check php info it says Imagick is installed. What's the difference between Imagick and ImageMagick? How can I fix this so I can use php 7.0?xenforo.com
Issue that @Mr Lucky had on one of my servers, as the there were multiple .htaccess and cPanel inserts the PHP handler code into there, so different directories for the same domain can run different PHP versions.
AddHandler application/x-httpd-php56s .php
Add this to the top of .htaccess file in what ever directory you have xf2.1 installed
PHP:AddHandler application/x-httpd-php56s .php
Ideally even PHP 7.3.1 (though we would recommend skipping PHP 7.3.0 entirely).
Bluehost is currently only offering 7.x beta and have for years that I know of with no idea when they will update their offering.You should probably use 7.x (ideally 7.2) if it's available. You'll notice a significant performance boost
Bluehost is currently only offering 7.x beta and have for years that I know of with no idea when they will update their offering.
We use essential cookies to make this site work, and optional cookies to enhance your experience.