Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

A few rapid questions! - PHP disable_functions in php.ini - On windows servers

$
0
0

A hopefully quick answer to a quick question:

Since may functions of the "disable_functions" is for Linux and Apache and not for Windows I'm having a hard-time figuring out which functions that actually work and should be disabled in my php.ini file on my web server which I'm running WordPress on.

Example list - (i found it here: http://www.cyberciti.biz/faq/linux-unix-apache-lighttpd-phpini-disable-functions/ ) :

disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source

Here is another list of functions:

posix_mkfifo, pg_lo_import, dbmopen, dbase_open, popen, chgrp, chown, chmod, symlink, pcntl_exec,define_syslog_variables,posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid,
posix_setuid, posix_uname, proc_close, pclose, proc_nice, proc_terminate

  1. What function is Linux/apache and should be removed?
  2. Or a maybe more relevant question: What functions do actually work on windows and should be disabled?
  3. Is there anymore dangerous function not included in the list that need to be disabled?

Thanks you in advance for helping me! :-)

Regards

Daniel


Viewing all articles
Browse latest Browse all 28058

Trending Articles