blank
03-04-2008, 05:02 PM
If you receive an error that looks like this:
Warning: dl() [function.dl]: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in /home/admin/domains/freakpeek.com/public_html/admincp/ffmpeg.php on line 8
Can't load extension /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
edit /admincp/ffmpeg.php
Find this line:
if (!extension_loaded($extension)) { dl($extension_soname) or die("Can't load extension $extension_fullname\n"); }
You will need to find out where ffmpeg.so is on your server and HARDCODE the location to something like this:
if (!extension_loaded($extension)) { dl('/usr/bin/ffmpeg.so') or die("Can't load extension $extension_fullname\n"); }
Obviously if you don't know what ffmpeg.so is then you will have to talk to whoever's in charge of your server.
There is one other error that frequently comes up that I'll post a fix for NEXT time I come across it. It has to do with a simple php.ini change to allow the usage of dl()
Warning: dl() [function.dl]: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in /home/admin/domains/freakpeek.com/public_html/admincp/ffmpeg.php on line 8
Can't load extension /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
edit /admincp/ffmpeg.php
Find this line:
if (!extension_loaded($extension)) { dl($extension_soname) or die("Can't load extension $extension_fullname\n"); }
You will need to find out where ffmpeg.so is on your server and HARDCODE the location to something like this:
if (!extension_loaded($extension)) { dl('/usr/bin/ffmpeg.so') or die("Can't load extension $extension_fullname\n"); }
Obviously if you don't know what ffmpeg.so is then you will have to talk to whoever's in charge of your server.
There is one other error that frequently comes up that I'll post a fix for NEXT time I come across it. It has to do with a simple php.ini change to allow the usage of dl()