Magento Forum

Disable some PHP functions for security reason
 
jonas73
Sr. Member
 
Total Posts:  97
Joined:  2009-04-24
 

Does anyone know whether we can disable below php functions. Does magento needs any of those functions.

“shell_exec,system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,highlight_file
escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo
posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,
ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ben Marks
Moderator
 
Avatar
Total Posts:  452
Joined:  2008-10-09
Charleston, SC
 

I don’t believe so.  I grep’d for a few of them and found nothing.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top