PHP disable function and classes for xenforo

I believe all of these are safe:

Code:
disable_functions = 'ini_alter,ini_restore,ini_set,phpinfo,chgrp,chmod,chown,fputs,lchgrp,tmpfile,touch,link,symlink,exec,passthru,proc_open,shell_exec,system'

This is a pretty good list I use to lock things down a bit that won't interfere with most "normal" applications. "phpinfo" will break the function to display phpinfo in the admin area, so you might want to remove that if that page is important to you.
 
Last edited:
Top Bottom