New here, and fairly new to WHM/Cpanel, but have been a sysadmin for windows systems for 20+ years.
I have a new (to me) web hosting business that consists of 2 cpanel servers each with 100+ accounts with most accounts containing multiple domains.
On several instances in the last...
We are trying to create database through api 2. but we can't acheieve it. How do we require the class Cpanel .
Here is our tried code. but didnt work.
$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$database = 'exampl_db';
$create_database = $cpanel->api2(...