I'm trying to install proftpd
over PHP with phpseclib
.
I'm using this command to start the installation:
$sshconid->exec("apt-get install proftpd-basic -y");
This part works fine, but the installtion wont complete. If I try to uninstall/install the proftpd over a terminal, after execing the php code it shows me that I have to type in this command to continue the installtion:
dpkg --configure -a.
I belive this error comes from the missing terminal, because the dialogue which comes up after typing this command is an graphical window, its called package configuration.
Can anyone help me with this problem, please? Thanks.