• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

PHP disable function and classes for xenforo


Active member
I believe all of these are safe:

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: