Is there a way to enter command line mode?

Droidfox

New Member
Messages
4
Reaction score
0
Points
0
I have the Static paid hosting package.

I'm trying to install an extension for MediaWiki called Halo (part of Semantic MediaWiki) and it requires that I run a php script to update the database for Semantic MediaWiki.

Now, the problem I'm having is that I have absolutely no idea how to run a command line remotely using x10Hosting. I don't even know if its possible.

Any suggestions?
 

Anna

I am just me
Staff member
Messages
11,758
Reaction score
586
Points
113
With free hosting, no you will not be able to run command line. That would require ssh access which is only available on premium packages or VPS packages
 

Droidfox

New Member
Messages
4
Reaction score
0
Points
0
I do have a premium package.

I just don't know how to access the shell or what port to use.

Is this something restricted to VPSes?
 

Anna

I am just me
Staff member
Messages
11,758
Reaction score
586
Points
113
no, but you need to submit a ticket in the clients area to have it enabled for your account, it is off by default.
 

fortwienix

New Member
Messages
9
Reaction score
0
Points
0
You can create a little script of your own and run it via the web server. Inside the script place some
PHP:
exec('som command', $output)
calls and afterwards check the $output by using
PHP:
var_dump($output);
or
PHP:
print_r($output, true);
.

Some mediawiki PHP scripts that must be executed from the command line check if the script was called via the apache. This might cause problems in the solution above.

The other way is to do it manually at a local server and then update the database with the new tables.
 
Top