• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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