Jump to content

Recommended Posts

Hello,

When i try to install php_ffmpeg.dll into my apache server following step:

- ffmpeg.exe file from this URL http://ffmpeg.arrozcru.org/builds/ (successfully with test: c:/ffmpeg/ffmpeg.exe –i d:/myfile.mpg d:/myfile.flv /y)

- download ffmpeg-php extension and API documentation from this URL http://sourceforge.net/projects/ffmpeg-php

- fmpeg-php dll files into PHP "ext" (extensions) folder or System32,

Where the extensions are located.

- Make this entry in php.ini

[php_ffmpeg]

extension=php_ffmpeg.dll

- Restart my apache

But php_ffmpeg does not display in phpinfo

And i try with:

 

$extension = "ffmpeg";

$extension_soname = $extension . "." . PHP_SHLIB_SUFFIX;

$extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;

 

// load extension

if(!extension_loaded($extension)) {

    dl($extension_soname) or die("Can't load extension $extension_fullname\n");

}

 

the result is:

Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=ffmpeg.dll in your php.ini in E:\AppServ\www\testffmpeg.php on line 9

...

Can't load extension C:\php5/ffmpeg.dll

 

In apache error log:

PHP Warning:  PHP Startup: Unable to load dynamic library 'E:/AppServ\\php5\\ext\\php_ffmpeg.dll' - The specified module could not be found.\r\n in Unknown on line 0

 

I had spend for long time to find the solution but i not yet.

 

Please help me!

Link to comment
https://forums.phpfreaks.com/topic/173308-cant-install-ffmpeg/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.