I know I can manually run it through PHP's exec() command but I was hoping if there was a ready to download and deploy PHP-based system that could act as a bridge and terminal and you can run commands on it like you were in the terminal itself.
-
I did try searching but I always get the reverse, running PHP via command line. What I need is running command line via PHP. Sad for the downvote :(– radjFeb 10, 2013 at 14:50
-
The right terms to search were probably PHP and shell, not command line. Found sourceforge.net/directory/terminals/virtual/language:php/…– radjFeb 10, 2013 at 15:04
-
Why do you want to do this? Why not connect via, say, ssh?– vonbrandFeb 10, 2013 at 15:09
-
Paid web hosting provider disabled SSH and only provides it for the more expensive business plan :(– radjFeb 10, 2013 at 15:29
Add a comment
|
2 Answers
Try PHPShell. I tried it and it works great. Although it can't use vim or any program that requires user input in the middle of execution but that's enough for me.
Kloxo has a command line interface, you can use it
check ssh.serverdo.in, and serfish, i used those in the past, or you can just google "online ssh client".
PS: I don't think you can find a php script that acts like a terminal, i think you should go for java.
-
-
-
-
@radj sir,you stated that "Paid web hosting provider disabled SSH and only provides it for the more expensive business plan ", may i ask you what– LynobFeb 11, 2013 at 12:16
-
I'm on iFastNet's premium hosting. The business hosting is on the next tab.– radjFeb 11, 2013 at 12:18