[FFmpeg-user] issues installing ffmpeg php

Reindl Harald h.reindl at thelounge.net
Sat Feb 4 02:12:45 EET 2017

Am 03.02.2017 um 19:24 schrieb Arturo Calle:
> Hello, I need some help to install ffmpeg php, I get this message

what is the "ffmpeg php" you refer to?
i am only aware about a for years dead horse with a similar name

however, since you are installing in a non-default location you need to 
tell any other software where it and the headers are - hence you should 
provide from the very begin *what* you are trying to build and it's 
compile errors and not your ffmpeg configure

keep in mind that this is in general the wrong mailing list because this 
is not the upstream of "ffmpeg php"

> configure: "
> *error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared
> libraries using the --enable-shared option"*
> How I can compile ffmpeg with --enable-shared option? I followed this
> instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos, with
> --enable-shared option, but I still getting that message. What I'm missing?
> Do you need additional info?
> I wrote this: PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
> ./configure --prefix="$HOME/ffmpeg_build"
> --extra-cflags="-I$HOME/ffmpeg_build/include"
> --extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin"
> --pkg-config-flags="--static" --enable-gpl --enable-nonfree
> --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
> --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
> --enable-libx265 --enable-shared
> PHP 5.4.16
> CentOS: centos-release-7-3.1611.el7.centos.x86_64

More information about the ffmpeg-user mailing list