Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
608 views
in Technique[技术] by (71.8m points)

php - Install FFMPEG on XAMPP

I have installed xampp 1.7.4 with php version 5.3.5 on windows xp. How to install ffmpeg in xampp with php 5.3.5 on windows xp?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Sodobni-mediji.si's method worked, but some things need to be clarified.

Download: https://rapidshare.com/#!download|934l34|422916798|php_ffmpeg_v0.6.0_for_PHP_5.3.1.rar

  1. unzip
  2. copy ffmpeg.exe somewhere and remember the path for later use
  3. move php_ffmpeg.dll to php extension dir (usually c:xamppphpext)
  4. move all other files to WindowsSystem32 (except COPYING.GPLv3.txt, readme.txt)
  5. add extension=php_ffmpeg.dll to php.ini (usually c:xamppphpphp.ini)
  6. restart apache with fingers crossed
  7. questions/answers http://www.apachefriends.org/f/viewtopic.php?f=16&t=41913

If you are using windows 64bit, you will also need to to copy all of those dll files to C:WindowsSysWOW64 along with C:WindowsSystem32.

You will probably have problems with toGdImage(), I have no idea how to fix this...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...