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.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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