This tutorial shows how to install ffmpeg-php on a Windows 7 32-bit PC running XAMPP/PHP 5.3. This is one of the most requested tutorials and has been for some time, so I’ve decided to revisit it and see if I could produce an updated version along with the source file links needed.
I have chosen to use a fresh install of Windows 7 32-bit for the tutorial along with XAMPP as the Apache2/PHP 5.3 server.
The main catch to installing and using ffmpeg-php extension for Windows is the version of PHP that is required in order for it to work. Since the person who compiled the ffmpeg-php extension did so using a VC6 (Visual Basic 6 compiler) version of PHP 5.3, the highest version of PHP 5.3 we can use is 5.3.5. This also means we can’t use versions of XAMPP newer than version 1.7.4 since it also is the most recent version compiled with VC6.
If you are using XAMPP for this tutorial, you can Direct Link to download from their Sourceforge.net page. (Direct Link to download)
If you’re using a manual installation of PHP 5.3, you can find it on their Archives page.
** UPDATE – 12/17/2012 **
I’ve created a new tutorial How-to Install ffmpeg-php PHP 5.4 on Windows 8 / XAMPP 1.8.1 that explains how to install the latest version of ffmpeg-php that now works with PHP 5.4 and XAMPP 1.8+ !
The download links for the updated ffmpeg-php version are located on that page.
ffmpeg-php For Windows Download Links
Here are the links needed to download ffmpeg-php and the requirements to install it. I’ve also added the links to the additional resources used in this tutorial.
- ffmpeg-php for Windows – http://myownhomeserver.com/2017/01/find-sergey89-ffmpeg-php-extension-files-windows/
- Example/Test ffmpeg-php script (Shown below) – http://pastebin.com/r8JDpxnL