Installing uploadprogress on MAMP
When you use Drupal imagefield or filefield module, you'll have noticed that it uses uploadprogress to show a nifty progress bar. This is optional but it's a nice thing to have and it's actually not that difficult to install. Just follow this article: http://smbjorklund.no/how-enable-pecl-uploadprogress-extention-mamp
UPDATE:
Here is the extension that has been precomplied so you can just simply drop it into your folder and activate it. The zip file contains uploadprogress.so and zip.so (so you can use zip extension files).
Download: extension.zip
Unzip the file and place both *.so file into directory: /MAMP/bin/php5/lib/extensions/no-debug-non-zts-20060613/
Then add this line:
extension=uploadprogress.so
extension=zip.soto your php.ini file which can be found at /MAMP/Config/php5/
Make sure you restart your web server.


Delicious
Digg
StumbleUpon
Facebook
Google
Yahoo
Technorati













Comments
Works in MAMP Pro 1.9 and PHP 5.2
Needed to get to get uploadprogress library extension to work in Drupal 7 running a MAMP 1.9 install.
Your complied uploadprogress.so works in MAMP 1.9 running PHP 5.2
Thank you so much for saving me the time to compile and fuss with installation these extensions! Brilliant.
thanks, i can also confirm it
thanks, i can also confirm it does work on MAMP 1.9 as i've recently updated the MAMP version so i can also test sites running in PHP 5.3 :-)
5.2 Lovely: 5.3 No so much :)
Thanks for providing this link: after a few hours of trying to figure out how to compile etc. this was just what I needed. Very much appreciated.
I couldn't get it working with PHP 5.3 from MAMP 1.9, though. After tweaking and tweaking it wouldn't appear in phpinfo and it still wouldn't let me use ZipArchive. In the end, I switched over to 5.2.13 and copied the zip.so extension into that path and it worked first time.
How did you get it working with 5.3?
This version is only for PHP 5.3
Okay, here's uploadprogress 1.0.1 i've recompiled and it seems to work (at least it's showing up in phpinfo). However, i've not been able to test it because imagefield does not work on PHP 5.3
If you want to try it: Uploadprogress for PHP 5.3
Installing:
Go thru the same steps as in article but instead of putting it in the php5.2 directory, you now need to put it in php5.3 directory and then ad extension=uploadprogress.so to the php.ini file of PHP 5.3. Restart your web server.
NOTE: it was compiled under Snow Leopard 64bit
To be frank with you, i've
To be frank with you, i've not tested it under PHP 5.3 as Drupal 6 doesn't seem to work on 5.3 so have just been sticking to 5.2 for now. When i get round to it, i'll report back.
My turn to be honest...
Apologies - I should have been clearer: I'm actually only after the zip.so extension. Sorry for wasting your time recompiling the uploader.
I don't actually use Drupal, but Google brought me here in search of a precompiled zip.so for use with MAMP. This was a massive help to me as I'm not familiar with compiling, and when someone who was came to my rescue, turns out I needed XCode (or equivalent tools) installed - which is a little overkill just to get an extension working.
Thanks again for the original zip.so as I don't *have* to use 5.3, so I can get away with 5.2 for now. But if you ever do recompile it for 5.3 I'd be very grateful - and if you're ever down in sunny Oxfordshire I'll buy you a pint!
I'm sure many people would find your existing zip.so very useful as there are a few posts dotted around questioning how to get ZipArchive support in MAMP: might get you some more traffic if you post a link or two.
Thanks again - sorry for the ramble!
Ah! okay, sorry i didn't
Ah! okay, sorry i didn't follow... The zip extension is actually a lot easier. Here you go zip.so
Many thanks
That works lovely! :)
Thanks
Thanks a lot, really appreciate.!
Post new comment