[FFmpeg-user] PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so

Walid Salman bza.salman at gmail.com
Sat Jul 22 19:34:49 EEST 2017


Hello,

I have ffmpeg installed on my server (Linux with cpanel) :

ffmpeg version N-81130-g293676c Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
  configuration: --prefix=/root/ffmpeg_build
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/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
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...

I am receiving daily huge number of error_log in some hosts on my server :

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so' -
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot
open shared object file: No such file or directory in Unknown on line 0

I have copied the ffmpeg.so from /bin/ffmpeg.so to the /usr/local/lib/php/
extensions/no-debug-non-zts-20100525/ ..
But I still get the same error_log !!!
Any one know how to fix that?
Thanks,


More information about the ffmpeg-user mailing list