FFmpeg PHP extension installation in 64-bit Systems

Source: Internet
Author: User

1: After receiving my previous blog, I installed it in a 32-bit win7 system.

2: I installed 64-bit win7 on my laptop. The PHP version is the same as the previous one, and then I downloaded the FFMPEG extension package of that version (win32, then put php_ffmpeg.dll into the ext directory of PHP, and put the rest under system32. Invalid. Go to Apache error. there were no error reminders for log viewing, which made me very depressed. I also posted a post on csdn and told me to go to error. log to view the error, but I just can't see it. I also tried in PHP. write a wrong DLL in ini and find Apache error. log does not see errors.

3: The final solution is to put php_ffmpeg.dll under Ext, and the rest of the DLL should not be placed under system32, but be put into the unique C of the 64-bit system: \ windows \ syswow64 directory.


PS: Although ffpmpeg has a 64-bit extension, the 64-bit extension is consistent with PHP, not your operating system. The final debugging problem occurs when I run php under the command. If there is an error directly, for example, if you load the wrong DLL, it will pop up and solve the problem quickly!


Haha, I'm very happy that it took me a few days, especially for my pursuit of technical perfection. One problem cannot be solved, so I can't sleep well or eat well. Haha ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.