+ Reply to Thread
Results 1 to 6 of 6

Thread: Is there a way to enter command line mode?

  1. #1
    Droidfox is offline x10Hosting Member Droidfox is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    4

    Is there a way to enter command line mode?

    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?

  2. #2
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Is there a way to enter command line mode?

    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
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  3. #3
    Droidfox is offline x10Hosting Member Droidfox is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    4

    Re: Is there a way to enter command line mode?

    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?

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Is there a way to enter command line mode?

    no, but you need to submit a ticket in the clients area to have it enabled for your account, it is off by default.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  5. #5
    Droidfox is offline x10Hosting Member Droidfox is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    4

    Re: Is there a way to enter command line mode?

    Aha!

    Thank you. I'll see about doing that.

  6. #6
    fortwienix is offline x10Hosting Member fortwienix is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    9

    Re: Is there a way to enter command line mode?

    You can create a little script of your own and run it via the web server. Inside the script place some
    PHP Code:
    exec('som command'$output
    calls and afterwards check the $output by using
    PHP Code:
    var_dump($output); 
    or
    PHP Code:
    print_r($outputtrue); 
    .

    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.

+ Reply to Thread

Similar Threads

  1. SQL Command Line
    By gavicus in forum Programming Help
    Replies: 3
    Last Post: 07-04-2009, 12:00 PM
  2. Command line?
    By shaiaqua in forum Free Hosting
    Replies: 2
    Last Post: 05-09-2008, 10:10 PM
  3. log into sql from command line?
    By chess314 in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 01-30-2008, 03:01 AM
  4. Command line
    By Skizzerz in forum Free Hosting
    Replies: 9
    Last Post: 11-05-2007, 09:40 PM
  5. command line use
    By estado3 in forum Free Hosting
    Replies: 1
    Last Post: 07-09-2007, 09:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers