B
BorisÃ…
Guest
Hi,
I'm trying create subdomain from PHP script using CLI. I run via shell_exec command
I'm not able to create subdomain because following error ocure:
What am I doing wrong? Is it possible to do this by CLI or I have to use RPC instead?
Thank you for your suggestions.
I'm trying create subdomain from PHP script using CLI. I run via shell_exec command
Code:
/usr/local/psa/subdomain --create <subdomain_name> -domain <domain_name> -www-root </www/root>
I'm not able to create subdomain because following error ocure:
Code:
Unable to connect to database: get_admin_password() failed: file_get_contents() failed:
What am I doing wrong? Is it possible to do this by CLI or I have to use RPC instead?
Thank you for your suggestions.