Docly Child

Install wordpress

					StructOperationResponse WebHostingVhostUpdate(string $IDsession, string $id, string $action, array $params)

Automated installation of wordpress.


  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • action string
    Set to “InstallWordpress”.
  • params array
    {“fqdn”: fqdn of the vhost,

    “sitename”: the name of the website,

    “useradmin”: administrator’s user name,

    “emailadmin”: administrator’s email address,

    “passwordadmin”: administrator’s password,

    “language”: “FR” / “EN”}.

An Object of type StructOperationResponse

$clientSOAP = new SoapClient("http://URL.wsdl");
    $params = array("fqdn" => "",
         "sitename" => "netim",
         "useradmin" => "admin",
         "emailadmin" => "[email protected]",
         "passwordadmin" => "12abCD%@",
         "language" => "FR");
    $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
    $clientSOAP->WebHostingVhostUpdate($idSession, "NW1024", "InstallWordpress", $params)); 
catch(SoapFault $fault) 
    echo "Exception : " .$fault->getMessage(). "\n"; 
if (isset($idSession))