Skip to main content

php recommend disable_functions

Comments

5 comments

  • quizknows
    I have used this for disable_functions for a long time and never had any problems with wordpress or other common CMS software: disable_functions = show_source,system,shell_exec,passthru,exec,phpinfo,popen,proc_open,allow_url_fopen The other ones you listed are probably OK to disable too. Other than that make sure you have some form of cross-account symlink protection, even if it's just the patch in EA.
    0
  • cPanelMichael
    [quote="Venomous21, post: 1731242">Or any other general hardening tips?
    Hello :) The "Security Advisor" option in WHM is a good place to start for tips on how to improve security on your server. Thank you.
    0
  • Venomous21
    quizknows, thank you. Is the allow_url_fopen needed in disable_functions if I have it set globally to Off already in php.ini? I am also already using the EA symlink patch and security advisor :) Thanks for the info!
    0
  • quizknows
    It's probably not needed, but it also won't hurt anything.
    0
  • storminternet
    If you have disabled allow_url_fopen in php.ini then there is no need to add it in list of disable functions list.
    0

Please sign in to leave a comment.