When I try to install php5-ffmpeg:
apt-get install php5-ffmpeg
I get an error:
The following packages have unmet dependencies:
php5-ffmpeg : Depends: phpapi-20090626+lfs
As I understand my php5-ffmpeg was broken when I upgraded php from 5.3 to 5.4.
How can I fix it? I tried some options like -f, -ingnore-dependencies but that did not fix it.
I'm using Ubuntu 12.04.2 LTS.
Best Answer
First try to resolve dependency using below
PPA
but this version isEnd Of Life
, recommended to upgradephp-5.6
Then
Download
php-ffmpeg
from http://ffmpeg-php.sourceforge.net/ and extract.Edit php.ini file and add this end of file :
Last week I successfully installed this extension on centos 6