title: Compile PHP 5.5/5.6 and PHP-FFMPEG from source
body: <p>I am using WAMP 2.4.9 on Windows 7. PHP version is 5.5.12. I downloaded the latest available version of PHP-FF-MPEG. I added the extension files as directed, but when I try to start the WAMP with instruction to load extension php-ffmpeg.dll in php.in, an error message shows up saying:</p>
  
  <blockquote>
    <p>PHPStartup: ffmpeg: Unable to initialize module Module compiled with
    module API=20100525 PHP compile with module API=20121212 The options
    need to match.</p>
  </blockquote>
  
  <p>I searched the error and found that I must compile both the PHP and the extension causing such error from source code. I found an example for compiling php with php-profiler extension from source code. But it was a PECL extension. The directory structure and files are different in PHP-FFMPEG than that of PHP Profiler.</p>
  
  <p>Please help me how can I compile PHP and PHP-FFMPEG? Note that I have successfully compiled PHP with PHP-UProfiler.</p>