[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 20:20:10 EEST 2017


Hello,
Thank you Moritz for your replay >>>

Yes, I need it because when I when move the extantion"ffmpeg.so" from the
php.ini the ffmpeg not work with some websites.
My PHP version are :
PHP 5.4.45 (cli) (built: Oct 17 2016 10:00:19)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH




On Sat, Jul 22, 2017 at 9:29 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Sat, Jul 22, 2017 at 21:04:49 +0430, Walid Salman wrote:
>
> You asked this before, right?
> http://ffmpeg.org/pipermail/ffmpeg-user/2017-July/036567.html
>
> > I have ffmpeg installed on my server (Linux with cpanel) :
>
> Which has nothing to do with your issue:
>
> > 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
>
> ffmpeg doesn't provide and has never provided ffmpeg.so, to my
> knowledge. That file probably came from the ffmpeg-php project, which
> isn't supported here. (And probably is so out of date, that it doesn't
> work with current ffmpeg code anymore.)
>
> > I have copied the ffmpeg.so from /bin/ffmpeg.so to the
> /usr/local/lib/php/
> > extensions/no-debug-non-zts-20100525/ ..
>
> You probably copied /bin/ffmpeg, there should never have been a ".so"
> file in /bin/. That won't work. The file that your web server is
> looking for is a PHP extension, nothing "our" ffmpeg provides.
>
> Do you actually need it? Can't you just disable this extension in your
> web server/PHP configuration/wherever?
>
> And, as Harald pointed out at that time, you are probably running a
> very old PHP installation. If it is not a supported version, and you
> are running it on the public internet, it is probably a gaping security
> hole!
> http://php.net/supported-versions.php
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list