Migration from cPanel to cPanel2

The cPanel module uses the API version 1 which is deprecated. To avoid using a deprecated version, use the cPanel2 module which uses the API version 2. Below you will find the instruction that will help you to migrate all servers from the cPanel module to cPanel2.


  1. Make sure that the Cpanel2 module is enabled.
  2. Connect to the database.
  3. You should run the query which is below.


If you do not have any program to connect to the database, you can execute this query using the command line.

  1. Log in to the server where you have the HostBill installation.
  2. Then use the commands:

Then execute the SQL query that is above.

Related modules