• 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

Question How can I enable shell_exec

By default, the function shell_exec is available for customers. If this function is not listed in the disable_functions parameter value field, it is enabled.

This can be checked in Plesk > Domains > example.com > PHP Settings > View phpinfo() page, as described in this article.

However, FFmpeg is not shipped by default within Plesk, but it can be installed for PHP 5.6 provided by Plesk only. It cannot be installed for PHP 7.x provided by Plesk due to conflicts with Zend, as per this article.

For other conditions, it could be installed following the FFmpeg instructions in their official guide or this external guide, but it is considered a third-party application and should be installed on your own.
 
Back
Top