Search Google for a version of ffmpeg-php that works with PHP 5.3 and you will find nothing useful. In fact there are many sites where people claim that it does not work with PHP 5.3. Well, they’re wrong! It’s not the easiest thing to get to work but it DOES work with PHP 5.3. (Scroll down for download link to my version of ffmpeg.so)
I am using Zend Server version of PHP 5.3 on Ubuntu 9.10 RC, this is what I did:
1. Install PHP sources (not 100% sure if this is actually required): sudo apt-get install php-5.3-source-zend-server.
2. Install build tools: sudo apt-get install build-essential
3. Install autoconf: sudo apt-get install autoconf
4. Install ffmpeg: sudo apt-get install ffmpeg
5. Install dev/header packages required to build: sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libgd2-xpm-dev
6. Download latest ffmpeg-php source:
7. tar xjf ffmpeg-php-0.6.0.tbz2
8. cd ffmpeg-php-0.6.0
9. (Zend Server – Optional) PATH=$PATH:/usr/local/zend/bin
10. phpize (produces LOADS of warnings, ignore, this is fine)
11. ./configure –enable-skip-gd-check
12. make
13. Copy ./modules/ffmpeg.so into PHP extensions directory or location of your choice
14. Add to php.ini or custom ini file: extension=ffmpeg.so
15. Restart the web server.
ffmpeg-php is now installed!
Download compiled ffmpeg.so file here: ffmpeg-php-0.6.0-php5.3.tar.gz
This is from my phpinfo:





