buy tb500

PHP-FFMPEG installation in linux server

In order to install it, you need to follow the below instructions

# mkdir /usr/local/src
# cd /usr/local/src
# wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2
# tar jxf ffmpeg-php-0.6.0.tbz2
# cd ffmpeg-php-0.6.0
# perl -i -p -e "s/PIX_FMT_RGBA32/PIX_FMT_RGBA/g;" ffmpeg_frame.c
# phpize
# ./configure && make clean && make && make install

and add  extension=ffmpeg.so in php.ini file which is located at /usr/local/lib/php.ini

after that restart Apache and check

reference
http://forums.cpanel.net/f5/imagick-php-ffmpeg-gd-install-problem-does-not-show-phpinfo-page-please-help-198202.html

Leave a Reply