• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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