• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Can't enable escapeshellarg on fpm hosting

PCpractico.es

New Pleskian
HI!.

I need to enable the escapeshellarg on a single hosting on my Plesk server ( 17.8.11), and for that I put the following directive:

Code:
disable_functions = exec,shell_exec,system,passthru,popen,pclose,proc_nice,proc_terminate,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,ini_restore,safeshell,showsource, escapeshellcmd

But, it only works if the hosting is in Fast-CGI mode.

When it is in FPM mode I get the following error:

Code:
Warning: escapeshellarg() has been disabled for security reasons

I have checked the phpinfo in both cases and it is correct.


can anybody help me?
Thx!.
 
Back
Top