A fast and simple alternative to the official WHMCS Import Assistant. This script allows you to migrate your content between two WHMCS databases directly via PHP.
- Speed: Faster than the standard import tool for large datasets.
- Simplicity: No complex UI steps; just configure and run.
- Direct Migration: Connects source and target databases directly.
Open the custom_import.php file with a text editor and update the database credentials for both your Source (old) and Target (new) WHMCS installations:
$sourceDbConfig = [
'host' => 'localhost',
'dbname' => 'whmcs_source',
'username' => 'root',
'password' => '123456',
'charset' => 'utf8mb4'
];
$targetDbConfig = [
'host' => 'localhost',
'dbname' => 'whmcs_target',
'username' => 'root',
'password' => '1123456',
'charset' => 'utf8mb4'
];