• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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