Module Mismatch Error
I followed the instructions (MAMP 1.9, PHP 5.2.13), built the extension, etc etc and got this error:
<strong>PHP Warning: PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match</strong>
Turns out my command-line php version (`which php`) was 5.3, not 5.2. Consider fixing your PATH:
<code>export PATH=/Applications/MAMP/bin/php5.2/bin:$PATH</code>
After that,
<ul>
<li> remove extension=uploadprogress.so from php.ini;</li>
<li> uninstall the module: <code>./pecl uninstall uploadprogress</code></li>
<li> repeat the procedure starting at <code>./configure</code>
</ul>
Worked beautifully for me.
Module Mismatch Error I