

If you would like to see ffmpeg-php pre-installed in PHP provided by Plesk, please vote for this feature on Plesk UserVoice. Both servers are running the same version of GNU/Linux. To start using php-ffmpeg add the below to the website code in a PHP page to load the library:ĬONFIG_TEXT: require 'vendor/autoload.php' įfmpeg-php extension is not pre-installed in Plesk. When I take the same source file and try to run it on the other server it seems to work just fine. When I take the same source file and try to run it on the other server it seems to work just fine. Note: the ffmpeg-php is installed in /var/ You may have to throw a -reinstall switch in there if it fails. sudo apt-get install ffmpeg4:0.8.1-0ubuntu1.

Go to Domains > PHP Composer, click Scan to read the composer.json file:Ĭlick Install under Package Dependencies: To reinstall the official version over the PPA version, you can either use the ppa-purge script (install that first), or if you have already deleted the PPA, use. Go to Domains > PHP Settings and select 5.6.40, click OK Note: The domain is the domain where ffmpeg-php is going to be used As you can see, the command now outputs only details concerning the media file you specified (encoder, streams etc.).

Go to Domains > File Manager and create a file named composer.json with the content below: Install Composer extension from Plesk extension catalog in Extensions: Unable to install ffmpeg-php for PHP 7.x provided by Plesk: too many arguments to function 'zend_hash_find'įollow the next steps to install ffmpeg-php extension for PHP 5.6 provided by Plesk on Plesk Obsidian CentOS 7 (PHP 5.6 is not included into Plesk on other operating systems):
