Ffmpeg installation didn't create ffmpeg.so in php extensions...
December 3, 2012 8:38 PM   Subscribe

Ffmpeg installation didn't create ffmpeg.so in php extensions...

I've fully installed Ffmpeg on my Centos 6 server and it's working fine. I've added the ffmpeg.so extension to the php.ini file but the problem is the installation didn't create the file, or at least I think it should have. I really want Ffmpeg to come up in my phpinfo(). How do I generate the ffmpeg.so file so that it works?

Thank you
posted by Bacillus to Computers & Internet (5 answers total)
 
Here's a guide for CentOS. Have you followed the steps they suggest?
posted by axiom at 8:44 PM on December 3, 2012


You can't just stick any old .so file in the PHP extensions directory. It has to be a .so written explictly to load in PHP.

I found these instructions. Looks like you need to (after you've installed ffmpeg) download the ffmepg-php sources and manually compile/install them.
posted by sbutler at 8:46 PM on December 3, 2012


Response by poster: I followed the exact instructions in this to successfully install it and it didn't create the ffmpeg.so extension...

https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
posted by Bacillus at 9:24 PM on December 3, 2012


It's a little difficult to determine why ffmpeg.so isn't being built without a little more information. Can you post (or rather link to) the entire text output of the configure script?
posted by RonButNotStupid at 9:42 PM on December 3, 2012


You just installed ffmpeg which knows nothing about PHP. I assume you also need to install ffmpeg-php.
posted by zsazsa at 10:08 PM on December 3, 2012


« Older Essential soundz of NOW   |   Want to look as put-together as Scully Newer »
This thread is closed to new comments.