Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
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 :( – radj Feb 10 '13 at 14:50
    
The right terms to search were probably PHP and shell, not command line. Found sourceforge.net/directory/terminals/virtual/language:php/… – radj Feb 10 '13 at 15:04
    
Why do you want to do this? Why not connect via, say, ssh? – vonbrand Feb 10 '13 at 15:09
    
Paid web hosting provider disabled SSH and only provides it for the more expensive business plan :( – radj Feb 10 '13 at 15:29
up vote 3 down vote accepted

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.

share|improve this answer

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.

share|improve this answer
    
Unfortunately, I can't run Kloxo, it requires root access. – radj Feb 10 '13 at 15:39
    
@radj please read my edit – Lynob Feb 10 '13 at 17:16
    
I found PHPShell phpshell.sourceforge.net – radj Feb 11 '13 at 10:23
    
@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 – Lynob Feb 11 '13 at 12:16
    
I'm on iFastNet's premium hosting. The business hosting is on the next tab. – radj Feb 11 '13 at 12:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .