Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    330
    Likes Received:
    3
    Trophy Points:
    68
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    116
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Copenhagen, 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:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    330
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Great. Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice