FFMPEG and PHPFFMPEG installlation on Centos 7

yum install epel-release

yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

yum install ffmpeg ffmpeg-devel

mkdir /root/source

cd /root/source/

git clone https://github.com/tony2001/ffmpeg-php.git

cd ffmpeg-php/

/opt/cpanel/ea-php56/root/usr/bin/phpize

./configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config

nake && make install

Add line extension=ffmpeg.so in php.ini and restarted httpd