Installing uploadprogress with Zend Server CE on Mac OS X

If you’re using Zend Server on a Mac and have tried to install the uploadprogress PECL extension, you might have noticed it didn’t work.  The reason for this is that the Zend Server extensions are 32 bit and by default it’ll build the extension with the wrong architecture for Zend Server.  Here are the steps you need to take to compile it correctly to make it work.  Thanks to Rob Allen for having an awesome site on which Keith Pope posted an awesome comment!  These instructions were tested on Snow Leopard (10.6).  If you’re using 10.5, you’ll probably need to change the deployment target to 10.5 in the configure command.

% wget
% tar zxvf uploadprogress-1.0.1.tgz
% cd uploadprogress-1.0.1
% sudo -s
% phpize
% ./configure MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -g -Os -pipe" CXXFLAGS="-arch i386 -g -Os -pipe" LDFLAGS="-arch i386 -bind_at_load"
% make
% make install

Restart your server and you should be good to go!

4 Responses to “Installing uploadprogress with Zend Server CE on Mac OS X”

  1. Says:

  2. partypokerbonusnow Says:

    Should you be offering application via your affiliate promotions, really don’t just consist of display captures in the critiques – take a video of on your own applying the video! This can be fantastic for how-tos, so show me how you happen to be working with the money to convey gain for your lifestyle, particularly if it may preserve or make me money.
    Party poker bonus code The more distinctive your material is, the higher off your rankings will probably be inside the search engines. Definitely succeeding in Party poker bonus code needs you to learn with regards to the concepts of search engine optimization. The higher you may rank, the greater eyes can see your information.

  3. septic Says:

    There’s a lot of information here. I’ll be back again.

  4. Alonzo Steffey Says:

    Very interesting subject , regards for posting . “Nothing is more wretched than the mind of a man conscious of guilt.” by Titus Maccius Plautus.