Upgrading from PHP 5.5 and Below to PHP 5.6/7.0

If you are currently running any of our WHMCS modules on PHP 5.5 and below and you need to upgrade to PHP 5.6/7.0 or higher, please follow these steps: 

Note: It is highly recommended to make a full backup of your WHMCS site (file structure and database) before performing the below steps.

Note: If you are currently running a version of the WordPress Auto-Provision module lower than 2.0, please contact us for assistance first.

1. Log into WHMCS and go to Setup -> Addons.


2. Disable any of the currently installed IBG modules (e.g. WordPress Auto-Provision Module, WHMCS Auto-Provision Module, Order Offer Module and Product Image Module) as well as the IBG Module Loader (no configuration data will be lost).


3. Log into your WHMCS file directory and modify the following files/folders:

  All modules:
  -- /includes/hooks/ibgmoduleloader.php (delete file)

  If using the WordPress Auto-Provision Module:
  -- /includes/hooks/appprovisioning.php (delete file)
  -- /includes/hooks/appprovisionwp.php (delete file)
  -- /modules/addons/appprovisionwp (rename folder to appprovisionwp.php53)

  If using the WHMCS Auto-Provision Module:
  -- /includes/hooks/appprovisioning.php (delete file)
  -- /includes/hooks/appprovisionwhmcs.php (delete file)
  -- /modules/addons/appprovisionwhmcs (rename folder to appprovisionwhmcs.php53)

  If using the Order Offer Module:
  -- /includes/hooks/orderoffer.php (delete file)
  -- /modules/addons/orderoffer (rename folder to orderoffer.php53)

  If using the Product Image Module:
  -- /includes/hooks/productimage.php (delete file)
  -- /modules/addons/productimage (rename folder to productimage.php53)


4. Install the latest version of the ionCube Loader.

5. Download and install the latest IBG Module Loader for PHP 5.6/7.0.

6. Log back into WHMCS and re-activate the IBG Module Loader (Setup -> Addons).


7. Navigate to the IBG Module Loader (Addons -> IBG Module Loader) and re-install your applicable modules by entering your license key. If you do not know your license keys, you can retrieve them here.


8. Re-activate the modules by entering in your license key for each module on the Setup -> Addons page and reset any applicable module options listed.

9. Finally, log back into your WHMCS file directory and copy any required files/folders back to their active module folder:

  If using the WordPress Auto-Provision Module:
  -- Copy the contents of /modules/addons/appprovisionwp.php53/packages to 
       /modules/addons/appprovisionwp/packages


  If using the WHMCS Auto-Provision Module:
  -- Copy the contents of /modules/addons/appprovisionwhmcs.php53/packages to 
       /modules/addons/appprovisionwhmcs/packages

  If using the Product Image Module:
  -- Copy the contents of /modules/addons/productimages.php53/product_images to 
       /modules/addons/productimages/product_images


Once the above steps are completed, everything should be running correctly on PHP 5.6/7.0, with all of your previously configured module settings intact.


If you run into any issues upgrading your IBG WHMCS modules to PHP 5.6/7.0, please contact us for assistance.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WHMCS Products Not Showing on Addon Configuration Screen

If you are trying to use one of our modules and you are unable to select from a list of available...

Module Compatibility with PHP 7.1 and 7.2

While all of our WHMCS modules are compatible with PHP 7.1 and 7.2, at the present time you will...