简体   繁体   中英

How to install php_ffmpeg.dll on wamp server 2.2 windows7 64bit?

I'm getting "PHP Startup: Unable to load dynamic library: c:/wamp/.../php5.3.10/php_ffmped.dll - %1 is not Win32 application" error when run php from cli, and same error in apache error log when running as apache2 module.

I tried andswers for xampp installation ( Install FFMPEG on XAMPP ) But they didn't work for me.

It seems that difference in xampp php module is a php compiler - MSVC6 since for wamp it is MSVC9.

I killed half a day investigation this issue. Please help me out where can I get proper libs to fix this problem.

The only possible thing I can think is that maybe you don't have the correct visual c++ runtimes for your support DLLs. If the php_ffmpeg.dll is 32 bit, then it's failing to load because it can't load its msvc* dlls or one of the other DLLs (avcodec*.dll, etc) may need appropriate runtimes installed also. Download the latest Visual C++ 9.0 runtimes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM