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!

Disable of dangerous php functions- How do you do this?

Discussion in 'General Discussion' started by AbeFroman, Sep 14, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Disable of dangerous php functions (disabling of functions that could potentially cause harm to the server and/or its users)

    How do you do this?

    Will easyapache still work?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    You should really read through the php documentation to get a basic understand of it all. The information you requested, can be found here: http://au2.php.net/features.safe-mode

    I see no reason why this would interfere with easyapache.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    166
    Hi AbeFroman,

    You can turn on the safe mode = On in php.ini. Else you can disable list of functions by giving them as comma separeted in the following variable in php.ini

    disable_functions =

    Regards,
    BrightAdmin :)
     
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