First off my exp with shell and Linux in general is somewhat limited but I learn fast. I have a VPS with DH. I have installed a custom PHP 5.3 with FFMPEG and FFMPEG-PHP extension. I used a script I found for DH PS and modified it some to get it all working.
I have successfully installed it with no fatal errors. I modified .htaccess for the domain I wanted to use this build and did a phpinfo. It shows up of and with FFMPEG but it’s missing a few things. The biggest is MySql. I did not compile my own MySql I just wanted to use the existing one at DH that has my DBs in it. I have linked my .sh script and my phpinfo link for review. As you can see there are a few other missing things but MySql is the most important to me. Also the only thing I added to the php.ini file from this build was the FFMPEG extension. Maybe need to add or modify the ini some more?