How to change PHP version on GoDaddy

AndyB

Well-known member
Hello,

My goal is to be able to select ImageMagick PECL Extension as the Default Image Processor.

Currently the PHP version on the shared server I'm working on is 5.4 (native), but it doesn't support Imagick. If I select PHP 5.4 or PHP 5.5 it includes Imagick so I would like to switch to it. The problem is when I select another PHP version, the XenForo forum dies, the error message is:

An unexpected database error occurred. Please try again later.

The tech support at GoDaddy was unable to provide a reason why the database stops working for XenForo yet works for the WordPress database.
 
Last edited:
This YouTube video shows how to change the PHP version using cPanel.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Last edited:
When the following message is displayed:

An unexpected database error occurred. Please try again later.

If I look at the source the following is displayed:

An unexpected database error occurred. Please try again later.
<!-- The Mysqli extension is required for this adapter but the extension is not loaded -->
 
Hi Solidus,

Thank you for your help. It looks likeEasyApache is only available if you have WHM, this is a shared server so no WHM.

Oooh I didn't consider that. GoDaddy might do it for you, though.
 
They allow php.ini file to be placed in your hosting instant. I suggest you to simply place this file in your hosting root with following code inside that file:

Code:
extension=mysqli.so
 
Back
Top Bottom