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.

disabled PHP functions

Discussion in 'Security' started by keat63, Feb 11, 2016.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    844
    Likes Received:
    25
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I've installed a security suite on an OS Commerce site which suggests disabling the following php functions.
    exec, system, passthru, popen, proc_open, shell_exec

    What are the implications of this please
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,657
    Likes Received:
    1,138
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The implications are different for each function. You can search PHP's documentation for each function to see it's purpose. EX:

    PHP: popen - Manual

    Thank you.
     
  3. gopkris2005

    gopkris2005 Well-Known Member

    Joined:
    Jan 9, 2007
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    Twitter:
    These are the security related functions in PHP. Try to disable these functions for this OS Commerce cpanel account or you can disable it globally.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,435
    Likes Received:
    285
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    844
    Likes Received:
    25
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I did in the end.
    It doesn't appear to have broken anything that I can see.
     
    Infopro likes this.
Loading...

Share This Page