Sometime while compiling FFMPEG-PHP it doesn’t detect FFMPEG as shared lib and throws following Error evern if you have compilied FFMPEG as shared Libs
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
The main reason for this problem is that some libraries of various modules doesn’t gets copied in FFMPEG include directory. To fix this issue, just copy and paste following commands after FFMPEG Installation
# mkdir /usr/local/include/ffmpeg # cp /usr/local/include/libavcodec/* /usr/local/include/ffmpeg # cp /usr/local/include/libavdevice/* /usr/local/include/ffmpeg # cp /usr/local/include/libavformat/* /usr/local/include/ffmpeg # cp /usr/local/include/libavutil/* /usr/local/include/ffmpeg # cp /usr/local/include/libswscale/* /usr/local/include/ffmpeg
Now try to compile FFMPEG-PHP and let me know if the error persists (I am sure that this will fix the issue).



Milind Koyande is the Senior Research Engineer and his job is to work with new technologies, specially Cloud Computing / Virtualization Technology. His past projects include Government Sector initiatives, Backup and Disaster Recovery Solutions. Follow him on 



FIX:- error: ffmpeg headers not found. Make sure you’ve built ffmpeg as shared libs « .:][ Gr8 Admin Team ][:.
on Aug 5th, 2011
@ 9:39 am:
[...] fix checking for ffmpeg headers… configure: error: ffmpeg headers not found. Make sure you’ve built ffmpeg as shared libs using the –enable-shared option Amplify’d from eitwebguru.com [...]