run php from jailed shell (and other commands)

Discussion in 'Installation/Configuration' started by aldo, Apr 24, 2013.

  1. aldo

    aldo HowtoForge Supporter

    I would like to run php from a jailed shell (Chroot Shell = Jailkit).

    For example:
    PHP:
    #!/usr/bin/env php
    <?php
        
    // my code
    ?>
    Also, I would like enable some other commands like ping and traceroute.

    How can I do that?

    How dangerous is it?

    Thanks for any help.
     
  2. aldo

    aldo HowtoForge Supporter

    Nobody wants to help me?
     
  3. till

    till Super Moderator

Share This Page