I’ve probably spent over 12 hours trying to install FFMPEG on WAMP. I’m aware that other people have had this question answered on this site, however it does not work for my setup.
I have tried the below:
Download ffmpeg_new Copy php_ffmpeg.dll from the php5 folder to the C:wampbinphpphp5.2.9-2ext Copy files from common to the windows/system32 folder Add extension=php_ffmpeg.dll to php.ini file Restarted all services (Apache, PHP...)
My current setup is PHP 5.2.1, Apache 2.0.63. I have a Windows 7 64bit computer.
I get the following error in my PHP error log:
[22-Jun-2012 01:39:31] PHP Warning: PHP Startup: Unable to load dynamic library ‘c:/wamp/bin/php/php5.2.1/ext/php_ffmpeg.dll’ – The specified module could not be found. in Unknown on line 0
Obviously I have placed the module in the ext folder.
Phpinfo.php verifies that the FFMPEG module is not being loaded. I have tried installing PHP 5.3 (with a later FFMPEG version), 5.2.6 and 5.2.9-2, but the module still fails to load. Is there anything else I should try? Does having a 64bit Windows 7 computer make any difference?
Advertisement
Answer
Yes, having a 64-bit computer may make a difference. Try putting the “common” files in C:WindowsSysWow64
instead of system32
.
If that doesn’t work, try using DependencyWalker to check the missing DLLs (open php_ffmpeg.dll with it)