After hours and hours of trying and searching for an answer i coudn't get it working.   Hosting details:   Windows Server 2012 R2   Plesk 12   IIS 8.5   The problem   My problem is: I want to execute this command in PHP. The command is necessary to reload the configs for filezilla, after creating a new user with an PHP script.  C : \Program Files  ( x86 ) \FileZilla Server \FileZilla Server . exe / reload - config   It does work when i try it directly in CMD. But in PHP if doens't somehow work. I tried so many things, that im going to try to give you all the manners i tried.   I tried to do this at the following ways:   Trial 1  $command =  '"C:\\Program Files (x86)\\FileZilla Server\\FileZilla Server.exe" /reload-config' ;   exec (  $command ,  $output ,  $return );    print_r ( $output );  echo '<br/>'  . $return ;   Output:  Array  (  )   0   Trial 2  $command =  '"C:\\Program Files (x86)\\FileZilla Server\\FileZilla Server.exe...