Hi everyone,
I've this problem:
in /usr/local/php55/lib/php.ini I've this parameter:
=========
disable_functions = ini_restore, sscanf, popen, pclose, system, exec, shell_exec, suExec, dl, passthru, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg
=========
If I wanted to enable exec function (for example) for a specific user and I edit this parameter into php-fpm 5.5.conf of this user
========
disable_functions = ini_restore, sscanf, popen, pclose, system, shell_exec, suExec, dl, passthru, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg
========
phpinfo() view the edited and in disable_function don't result the exec function, but if I use exec function in php script there is still this error:
Warning: exec() has been disabled for security reasons in
Can I fix this problem?
I've this problem:
in /usr/local/php55/lib/php.ini I've this parameter:
=========
disable_functions = ini_restore, sscanf, popen, pclose, system, exec, shell_exec, suExec, dl, passthru, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg
=========
If I wanted to enable exec function (for example) for a specific user and I edit this parameter into php-fpm 5.5.conf of this user
========
disable_functions = ini_restore, sscanf, popen, pclose, system, shell_exec, suExec, dl, passthru, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg
========
phpinfo() view the edited and in disable_function don't result the exec function, but if I use exec function in php script there is still this error:
Warning: exec() has been disabled for security reasons in
Can I fix this problem?