Knowledgebase:
Module issues in Cloud hosting US / Shared hosting Hostgator packages
Posted by Srinath SM, Last modified by Srinath SM on 15 May 2019 06:08:16 PM

You might have come across module related issues ibn Cloud hosting US packages or Hostgator shared packages. Some common error includes the following: 

~~~~~~

Your Installation appears to be missing MySQL extension ---> Wordpress related. 

Undefined function mysqli_connect() ---> Mostly occurs in Magento, opencart which allows you to choose the DB driver in configuration. 

PHP Startup: Unable to load dynamic library ---> Can happen in any type of PHP website. 

~~~~~~

The above mentioned are just commonly seen errors. You may see or might have seen lot more errors related to PHP modules. 

One potential solution to solve is explained below: 
~~~~~~

1) Login to cPanel and then go to "PHP selector". 

2) Make sure that the PHP version selected is not the ones mentioned in the screenshot: 

https://drive.google.com/file/d/1OJ2s6pKsMBFJLBq8HoqC7ipaMtx_B5CM/view?usp=sharing

3) Please try changing the PHP version to the ones that belongs to PHP selector. 

~~~~~~

This had worked for me a number of times. So I believe it is worth trying. 

P.S.: MySQLnd is not available in our Cloud hosting US and Shared hosting hostgator servers for PHP 7.x versions. So for MySQL extension missing issue in Cloud hosting US/ Shared Hostgator you may need to change the PHP version to PHP 5.6. 

(0 vote(s))
Helpful
Not helpful

Comments (0)