Trying to install ffmpeg-php and having installation issues.
- by dallasclark
I've installed ffmpeg successfully using the ffmpeginstaller 3 series (http://www.ffmpeginstaller.com/download). ffmpeg is working fine without any known issues with bash.
The ffmpeginstaller is meant to install ffmpeg-php but it cannot be found and I receive an error when I execute php -v
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/ffmpeg.so' - /usr/lib64/php/modules/ffmpeg.so:
cannot open shared object file: No such file or directory in Unknown on line 0
Looking at the '/usr/lib64/php/modules/' folder, it doesn't contain the ffmpeg.so file. I've tried to install ffmpeg-php manually but I receive the following error
checking for ffmpeg headers... configure: error: ffmpeg headers not found.
Make sure you've built ffmpeg as shared libs using the --enable-shared option
Should I install ffmpeg with series 4 or 5 of ffmpeginstaller or does someone know how to fix this issue?
Thanks in advance !
System Specs
cat /etc/redhat-release
CentOS release 5.5 (Final)
cat /proc/version
Linux version 2.6.18-028stab068.5 (root@rhel5-64-build)
(gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1
php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ffmpeg.so' - /usr/lib64/php/modules/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.13 (cli) (built: Mar 2 2010 18:08:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
Any other details you need, just let me know.