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

Discussion in 'General Discussion' started by beanth, Oct 23, 2008.

  1. beanth

    beanth Member

    Joined:
    Oct 2, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Hi,


    Can anyone tell me how to disable of dangerous php functions........:rolleyes:


    Regards,

    Beanth
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator

    Use the disable_function entry in php.ini (accessible via WHM -> Service Configuration -> PHP Configuration Editor -> Advanced). It accepts a comma delimited list of PHP functions to disable.
     
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