hello,
when I disable fpm-fcgi from WHM then PHP run as cgi-fcgi,
but then the user can execute many commands dangerous...
therefore, is possible copy my software target:
/usr/local/bin/binary_sw_nsa
to
/unique_directory_where_php_can_run_shell_exec
and then config open_basedir with: "/unique_directory_where_php_can_run_shell_exec"
with this really the users running PHP as cgi-fcgi are limiteds to run ONLY binaries over that directory?
when I disable fpm-fcgi from WHM then PHP run as cgi-fcgi,
but then the user can execute many commands dangerous...
therefore, is possible copy my software target:
/usr/local/bin/binary_sw_nsa
to
/unique_directory_where_php_can_run_shell_exec
and then config open_basedir with: "/unique_directory_where_php_can_run_shell_exec"
with this really the users running PHP as cgi-fcgi are limiteds to run ONLY binaries over that directory?
Last edited by a moderator: