I am trying the Auto Install API to install WordPress (as in your example in the doc). But when I launch the script I only see a page asking the username and the password. I thought that the login was automatic with the line "$new->login = 'http://user:email@example.com:2082/frontend/x3/softaculous/index.live.php';"?
Furthermore, if I fill in the username and the password, I receive the message "the login is invalid".
I encounter this problem with the PHP script, that I launch via the browser. Do you mean that I have to launch it only from a terminal ?
Yes, I provide the correct username, password and domain name. But when I connect to cPanel via the browser, I receive the message "The site's security certificate is not trusted!". But if I click on "Continue", I connect without problem. Is it possible that this problem prevents the execution of the script?