How to install ffmpeg library and ffmpeg PHP module on Plesk for CentOS 7?

Follow

Comments

4 comments

  • Avatar
    Carsten Sachse

    Hello Alexandr, it’s possible to install it for php 7? cause all my scripts are working now with php 7.

    Regards
    Carsten

  • Avatar
    Denis Bykov

    @Carsten Sachse

    Unfortunately, it cannot be compiled due to conflicts with Zend, which is included in PHP 7.0 shipped with Plesk:

    error: too many arguments to function 'zend_hash_find'

    You may try to add custom PHP version and to install FFmpeg module for it.

  • Avatar
    Sohail Khan

    ffmpeg is installed but script cant find it here /usr/bin/ffmpeg 

  • Avatar
    Alisa Kasyanova

    @Sohail Khan
    Hi!
    Please check whether 'ffmpeg_path' is specified in the script and that it is pointing to /usr/bin/ffmpeg.
    Check that ffmpeg is in place:
    # whereis ffmpeg
    ffmpeg: /usr/bin/ffmpeg /usr/include/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz
    And check that permissions on /usr/bin/ffmpeg are 755 root:root.

Please sign in to leave a comment.

Have more questions? Submit a request