truongpm Posted September 6, 2009 Share Posted September 6, 2009 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! Quote Link to comment https://forums.phpfreaks.com/topic/173308-cant-install-ffmpeg/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.