The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Allowing Exec Function in PHP

Discussion in 'CloudLinux' started by sahostking, Sep 18, 2013.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Hi all,

    What is the best software to allow to use exec() function for example?

    Does CageFS protect client's website well enough to allow such a function in PHP?

    Any other options?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The use of the PHP "exec" function is generally discouraged. Is there a specific task that you need to complete through PHP with it?

    Thank you.
     
  3. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Copenhagen, Denmark, Denmark
    cPanel Access Level:
    Root Administrator
    My guess is the OP is asking if CageFS is sufficiently secure that you don't have to bother having "exec" in disable_funcitons. In other words, will exploits that are possible if exec() is allowed be prevented by CageFS?
     
  4. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    Yes, it is sufficiently secure. We worked very hard to prevent user from finding out any sensitive info or hacking into other accounts/system even if they can execute any code inside CageFS.
     
  5. mkhan

    mkhan Registered

    Joined:
    Sep 10, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Seems to be OK with CageFS..
     
  6. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - Allowing Exec Function
  1. urgido
    Replies:
    2
    Views:
    517

Share This Page