uploadprogress bar working under PHP5.3 on MAMP?
From the article i wrote about getting uploadprogress extension working on MAMP 1.9. Someone left a comment asking how to get uploadprogress php extension working under MAMP 1.9 with PHP 5.3.
So i decided to recompile it and this one seems to work, at least it is now showing up in the phpinfo page for PHP 5.3
If you want to test it out, here it is: uploadprogress 1.0.1
INSTALL:
Unzip the file and place uploadprogress.so file into directory: /MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/
Open up file in text editor: /MAMP/config/php5.3/php.ini
and add this line below:
extension=uploadprogress.so
to php.ini file where it shows the other extensions (around line 530 - 540)
At this stage initial, i haven't been able to test uploadprogress since Imagefield running Drupal 6.17 does not seem to work on PHP 5.3 (though i could be wrong?).
Please leave comment and let me know.
Update (6 July 2010)
For those of you looking for the zip extension as well which doesn't come with MAMP 1.9, here's a compiled version that you just need to drop it in to your directory to works with PHP 5.3: zip.so.
Follow the install example above and add this line to your php.ini file (remember it's the one located in your php5.3 directory)
extension=zip.so






Comments
error-log
I can't seem to get this working.
I get the following php errors:
[29-Jul-2010 17:10:05] PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/uploadprogress.so' - dlopen(/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/uploadprogress.so, 9): no suitable image found. Did find:
/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/uploadprogress.so: unknown required load command 0x80000022 in Unknown on line 0
And this a bit like chinese to me... :)
I've changed the .ini file and the .so is in the right place...
Seems like you have added the
Seems like you have added the line to pick up the extension but it is not able to locate it in the extension directory. Are you sure you have copied the file to the right directory? and restart your server
It worked
Thanks for this! It worked perfectly
web design service
thanks for sharing this
Add new comment