• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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