wget
Для просмотра ссылки Войди или Зарегистрируйся
tar jxvf ffmpeg-php-0.5.0.tbz2
cd /usr/local/src/
FFMPEG:
cd /usr/local/src/ffmpeg/
./configure --enable-mp3lame --enable-libogg --enable-vorbis --disable-mmx --enable-shared
######### IGNORE THIS ECHO LINE The dev's fixed the issue in svn. Im only leaveing it here in case it comes up again ###############
echo '#define HAVE_LRINTF 1 '>>config.h
################################################################################
##############################
make
make install
FFMPEG-PHP:
cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install
NOTICE: Make sure this is the correct php.ini for the box!!
echo 'extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini
NOTICE: Make sure this is the correct php.ini for the box!!
service httpd restart