You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
I find my answer , I should use cpanel method , with MysqlFE Module and createdb function.
$cpanel = new \Gufy\CpanelPhp\Cpanel([
'host' => 'http://site.com:2082', // ip or domain complete with its protocol and port {2087 :whm - 2082 : cpanel}'username' => 'username', // username of your server, it usually root.'auth_type' => 'password', // set 'hash' or 'password''password' => 'somePassword', // long hash or your user's password
]);
$accounts = $cpanel->cpanel('MysqlFE', 'createdb' , 'username' , array('db' => 'database') ); // it will returned as array
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi ,
Excuse if my question is not so good question , but I am looking a way to create DB in cpanel with api .
Can I create DB or Email account Using Cpanel-php ?
thanks
The text was updated successfully, but these errors were encountered: