some help with kloxo please

Discussion in 'Site & Server Administration' started by JEET, Feb 4, 2010.

  1. #1
    Hi,
    I just installed kloxo on a new vps. works fine. now when I try to run this command using php, the script seems to keep going on and on...

    <?php
    echo exec("ping google.com");
    ?>


    I don't think that exec is allowed with kloxo. How do I enable it? Some other commands like mkdir, chmod, unlink are also not working.
    What do I need to make them all work?
    Thanks :)
     
    JEET, Feb 4, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Ping on a linux system will go until you cancel it. If you only want a certain number of times, you would use the -c command:

    ping -c 10 google.com
     
    RHS-Chris, Feb 4, 2010 IP
  3. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    Hi,
    It's not only ping command, many other php commands are of no use like:

    chmod, mkdir, rmdir, exec, passthru, are all non-functional.

    I checkd the php.ini but "disable_functions" value is empty.
    How do I enable these functions on kloxo?
    Please let me know
    Thanks :)
     
    JEET, Feb 21, 2010 IP
  4. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #4
    no one? if anyone knows anything about this, please post.
    Thanks :)
     
    JEET, Feb 23, 2010 IP