• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk's command line interface doesn't work with PHP. ...

T

toeh101

Guest
Hi.

I tried to update a client account using client.exe .
It works if I use command prompt directly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>
cd\
cd progra~1\swsoft\plesk\admin\bin
client.exe -u mydomains -company mycompany01
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>

But when I use PHP exec() function to create client account, it doesn't work.
I think there are no problem about permission.
I tried PHP exec("md example_dir") , it works, example_dir folder has created.
But when I use it to execute client.exe, it doesn't work.
I know that the command is correct because I've already tried with command prompt directly.

How to solve the problem?
Thanks.
 
Hi.

I tried to update a client account using client.exe .
It works if I use command prompt directly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>
cd\
cd progra~1\swsoft\plesk\admin\bin
client.exe -u mydomains -company mycompany01
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>

But when I use PHP exec() function to create client account, it doesn't work.
I think there are no problem about permission.
I tried PHP exec("md example_dir") , it works, example_dir folder has created.
But when I use it to execute client.exe, it doesn't work.
I know that the command is correct because I've already tried with command prompt directly.

How to solve the problem?
Thanks.

You need administrative privilege to run Plesk command line tools.
 
Back
Top