tar -xjvf ffmpeg-php-0.5.1.tbz2 ; cd ffmpeg-php-0.5.1 ;
NOTE: After make install it will show you the path to the ffmpeg.so file, copy
ffmpeg.so to the folder where you need to run the php scripts which need ffmpeg-php.
For testing, inside the source folder, there will be a folder call tests which has
the required test php scripts. You may test if you wish to or if need arises 🙂
After Installation do below steps :
extension_dir = “./”
extension_dir = “/usr/local/lib/php/extensions/no-debug-non-zts-20020429”
where ffmpeg.so was installed, and add
This will load the FFmpeg-PHP into php by default.
if phpize not found than run
yum install php-devel