Windows 64位下为PHP 5.4安装FFmpeg扩展

想要在Windows 64位环境下使用PHP 5.4操作FFmpeg?你需要这个最新的ffmpeg-php扩展! 1. 下载扩展包和ffmpeg.exe(本地测试缺一不可)。解压后你会看到avcodec-51.dll、avformat-51.dll、avutil-49.dll、php_ffmpeg.dll和pthreadGC2.dll这几个文件。 2. 将avcodec-51.dll、avformat-51.dll、avutil-49.dll和pthreadGC2.dll复制到Windows的system32目录下。 3. 将php_ffmpeg.dll复制到PHP的ext目录下。 4. 打开apache/bin目录下的php.ini文件,添加extension=php_ffmpeg.dll以允许使用dll文件。 同时确保extension=php_gd2.dll和extension=php_gettext.dll也已开启。 5. 重启Apache服务器,然后用phpinfo()函数查看环境配置,如果看到相关信息就表示安装成功了。

zip
ffmpeg6-php54-win64-vc9-all.zip 预估大小:9个文件
file
avformat-52.dll 837KB
file
avutil-50.dll 84KB
file
php_ffmpeg.dll 39KB
file
avdevice-52.dll 41KB
file
swscale-0.dll 378KB
file
pthreadGC2.dll 42KB
file
LGPL.txt 26KB
file
readme.txt 919B
file
avcodec-52.dll 13.78MB
zip 文件大小:5.43MB