• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue FFmpeg installation

giuseppe2022

New Pleskian
Server operating system version
Linux Centos 7 updated
Plesk version and microupdate number
Plesk Obsidian Web Admin Edition Version 18.0.43 Update #1
Hello,

I have installed FFMpeg, I have created the crontab for the php file and I have server confirmation for both but the wordpress transcoder plugin says FFMpeg is not installed.

So I have two questions related to the way the plugin operates:

1. what is the path for the ffmpeg executable ?
2. Is PHP exec/shell_exec function enabled on your server and will it be able to run the ffmpeg?

Note: It is on
Plesk Obsidian Web Admin Edition
Version 18.0.43 Update #1

and I have seen that in disabled function there is opcache_get_status so I don't know if exec/shell_exec are enabled at the moment .

A simple and straight procedure would be very appreciated (newby Plesk licensed user)

Thanks for your support,

Giuseppe
 
This is not really an issue related to Plesk.

Are you the owner/administrator of your server? Then it's up to you to configure and secure your server. With the exception of the opcache_get_status function Plesk does not disable any other PHP functions. However your provider might have used a custom configuration for your server in which some functions might be disabled. Easiest way to find out is to simply create a PHP script with a shell_exec function as a test. Like:

PHP:
<?php
$output = shell_exec('ls -lart');
echo "<pre>$output</pre>";
?>

Which should output a directory list. If there is no output and no error showing, have look at your error logs in Plesk. If shell_exec is disabled then there will be an error message in the log like PHP message: "PHP Warning: shell_exec() has been disabled for security reasons in /var/www/vhosts/example.com/httpdocs/info.php on line 3"

Have a look at the FFmpeg documentation on how to use FFmpeg with PHP.
 
Back
Top