• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

client.sh --create

S

Sandbird

Guest
Hello,

I am using the sudo /usr/local/psa/bin/client.sh --create command to send the clients details to plesk through PHP running it like this:

$cmd='sudo /usr/local/psa/bin/client.sh --create "'.$pleskusername.'" -name "'.$pleskusername.'" -passwd \''.$pleskpassword.'\' -template "ClientTemplate" -company "'.$company.'" -phone "'.$phone.'" -email "'.$email.'";';

shell_exec ($cmd);

Its working fine for english characters, but when i am sending utf8 characters they all come weird in plesk. For example company looks like this "ΧλάÀα ΜάÃÂιοÂ".

I've tried every utf8 conversion method but no success. Can anyone shed some light here please ?
Thanks.
 
Back
Top