I am making a site for a client on Blue Host and drupal says I can user PECL but I don't understand how to install it. I searched drupal but didn't find anything useful.

Can someone explain to me how to do this? I have some unix stills but am not an expert so please be really clear.

Thank you

Becky

Comments

WorldFallz’s picture

It's not a drupal specific thing which is why you didn't find anything useful searching d.o. Try google:

http://www.google.com/search?q=pecl+uploadprogress

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

David Latapie’s picture

It may not be Drupal Specific, but it is present on the status report (admin/reports/status) for Drupal 7:

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.

Consequently, it should be addressed in one way or another in Drupal 7

--
David Latapie // +33 6 05 00 11 22

WorldFallz’s picture

drupal has nothing to do with pecl packages or apc-- those are server configuration items to which drupal has no access. What else can be done except inform the user that this option is available?

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

whatdoesitwant’s picture

What else can be done is obviously to provide up to date installation instructions on d.o. for at least OSX and the current flavours of Ubuntu and CentOS. The single most difficult task about setting up Drupal is not setting up Drupal but setting up the requirements. Pear, Pecl and APC are all requirements for either core or contrib. I remember encountering conflicts while trying to apt-get pecl on Ubuntu 9.04. As a newbie you may not be looking to get up to speed with linux, just get Drupal running. This is why the acquia drupal package is so popular. I think that the information in this thread should be part of the documentation, even if it isn't strictly about Drupal.

...of je stopt de stekker erin.

WorldFallz’s picture

There's nothing stopping that documentation from being written and contributed. EVERY registered user on drupal.org has the permissions to edit and add documentation. Unfortunately, it would seem people prefer to spend their time complaining in the forums rather than contributing documentation to the handbooks. This thread is a perfect example.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

dbnut’s picture

Thank you so much for being brave enough to highlight one of the biggest failings in this forum method of support.
A beginner using Drupal for their first website design has to grapple with dozens of problems that start with Drupal installation on a development PC (e.g. Wamp on my Windows computer). Some of the basic questions we ask are met with nothing but a loud SNEER from the "experts" who have been there before and perhaps think we should spend another six months learning every aspect of configuration from scratch until we have earned the right to ask anything at all.
Luckily for us, if we wait a little while (and put up with a few more similar posts), some really helpful person comes along and answers our question simply and to the point or links us to the relevant stuff outside Drupal.
Why such a bad attitude?

vj_pdx’s picture

Just wanted to share that there is now documentation on installing PECL which includes a lot of information from this thread:
http://drupal.org/node/793264

kiwi_steve’s picture

I found the answer on the Freestyle Systems site, and it solved my problem... hope it works for you. Big ups to the guy(s) at Freestyle for the information, and I hope they don't mind me sharing it here.
http://freestylesystems.co.uk/blog/installng-pecl-uploadprogress-extensi...

The guts of it follows:

Installation on Unix/Mac:

  • 1. Download the PECL uploadprogress extension
  • 2. Extract the uploadprogress-1.0.0.tgz archive, cd into the extracted folder and run these commands in Terminal:
  •       $ phpize            # prepares the PHP extension for compiling
          $ ./configure
          $ make
          $ sudo make install
  • 3. Check that the directory for the extensions is correct. The last line of the output returned from the $ make install command (on my system) is Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20060613/. Open php.ini and edit the extension_dir directive, replacing it with this path.
  • 4. Add the extension to php.ini by adding this line extension=uploadprogress.so
  • 5. Restart apache
  • You should now have the PECL uploadprogress extension installed.

    --There are no personal problems that cannot be overcome with the liberal application of high explosives--

    beckyjohnson’s picture

    Thanks for the instructions. That was very nice of you. Worked like a charm. I think i ended up using and finding the same link you posted here.

    Becky

    rafiqcmnet’s picture

    Hi All and TQ kiwi_steve for sharing.

    I am running production in XAMPP.

    I followed the related blogpost(s) and below were the steps I took:

    1. I copied the uploadprogress.dll file into the path set for extension_dir which is "C:\xampp\php\ext\" in my case.
    2. I added "extension=uploadprogress.dll" to php.ini which is basically a line just below ";extension=php_zlib_filter.dll".
    3. I remove the semi-colon BTW.
    3. I restarted Apache and ran ran cron in my drupal.

    The notification msg still remains.

    Anyting amissed?

    ~not a techie~

    NRaf’s picture

    A bit late, but in case anyone has this issue, the reason why it's not working is because the file is php_uploadprogress.dll. The article writer missed out on the php_

    So to fix the issue replace extension=uploadprogress.dll with extension=php_uploadprogress.dll

    rafiqcmnet’s picture

    It works.

    My Status Reports now says:

    Upload progress Enabled (PECL uploadprogress)

    chowdah’s picture

    it shouldn't matter as long as the extension name in the php.ini matches the extension name in the extension folder.

    2dareis2do’s picture

    I followed these steps but unfortunately still does not seem to work. I had better luck with APC that seems to come bundled with XAMP.

    Freelance Web Design and Development
    ---
    http://www.danlobo.co.uk

    2dareis2do’s picture

    Ok, upgraded to Quickstart now. Works a treat.

    Freelance Web Design and Development
    ---
    http://www.danlobo.co.uk

    Vc Developer’s picture

    I installed the Acquia version of Drupal:
    I'm normally a .Net framework developer, but how do I get to the apache prompt (isn't this were I'm Terminal is) to compile to file?

    The link to the pecl4win server is not available.

    Thanks for your help!...

    _____________________________________________
    Coding is like a box of chocolates!...

    openSUSE 12.1
    NVIDIA GeForce 9500 GT
    Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz

    boclodoa’s picture

    Thanks a lot, it worked for me. My server is a vps fedora 7 moonshine.

    i had to install php-devel to run phpize and "Development Tools" to run "./configure"

    erofadd’s picture

    Run the command below in terminal to get phpize

    apt-get install php5-dev.

    caspercash’s picture

    Thank you very much! It works for me! I am using VertrigoServ. What I did was just

    1. downloaded the .dll file
    2. uploaded it to PHP/ext folder
    3. went to the servers Settings->Extension settings and enabled/check the php_uploadprogress.dll
    4. restarted the server
    5. refreshed the status report page and Upload progress is already enabled!

    Great help! Thanks!

    SwedishElk’s picture

    Thanks, worked like a charm. :)

    psegarel’s picture

    After following most recipes and failing miserably, I finally found the solution!

    A lot of people seem to run into the same issue, they have several versions of PHP installed , such as 5.2 & 5.3 , and doing the following doesn't work because the extension is not compiled by the version they're using, resulting in a warning that the module cannot be loaded.

          $ phpize            # prepares the PHP extension for compiling
          $ ./configure
          $ make
          $ sudo make install

    A comment left on this page saved the day.

          If you have multiple PHP versions installed, you may be able to specify for which installation
          you'd like to build by using the --with-php-config option during configuration.

           --with-php-config=[Insert path to proper php-config here]

          For example (my case):
          ./configure --with-php-config=/usr/local/php5/bin/php-config5

    eQuilibris’s picture

    thanks kiwi_steve
    Worked by me.

    Regards,
    - eQuilibris

    postrational’s picture

    If you're on Leopard, try to follow these instructions:

    http://greenash.net.au/posts/thoughts/installing-the-uploadprogress-pecl...

    Also, if you are using the Entropy version of PHP, make sure you use the right version of phpize.

    These are the commands which worked for me:

    tar -xzf uploadprogress-1.0.1.tgz
    cd uploadprogress-1.0.1
    /usr/local/php5/bin/phpize
    MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bind_at_load" ./configure
    sudo make
    sudo make test
    sudo make install
    sudo cp modules/uploadprogress.so /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/
    php -m
    sudo apachectl graceful
    josejotero’s picture

    Hi Becky,
    I noticed that you had a problem installing the PECL uploadprogress bar. I didn't understand the solution. I'm not a programmer by trade, and am trying to learn in my spare time. Could you explain the steps in a more simple manner?
    Thanks,
    Jose

    BravoGolf’s picture

    I found this link quite helpful: http://us2.php.net/manual/en/install.pecl.php

    jvinci’s picture

    I also am using Bluehost to host my site. I asked them about it, and they will be installing the uploadprogress library for me.

    -JV

    ericprk’s picture

    That's interesting. They told me their policy was not install it. They said it could cause problems with other domains and wasn't required by Drupal.

    rusloc’s picture

    I am on a shared HostGator plan. It took me less than 10 minutes on Live Chat to have the latest uploadprogress library installed. It is among the items they do for you, if you ask.
    My Status report looks so-o-o good now.
    :)

    dalehgeist’s picture

    I'm on WAMP 2.0, don't know if this works for earlier versions

    1. Click the WAMPSERVER icon in your taskbar to bring up the UI
    2. Roll over the PHP folder, which will bring up a submenu
    3. Roll over PHP Extensions, which will bring up a long list of extensions, some with checkmarks next to them
    4. Find php_uploadprogress and select it

    WAMPSERVER will automatically restart. After it does, refresh your Drupal status update page, and you should see that your uploadprogress alert has gone away.

    (Obviously, this means that php_uploadprogress was already installed, but not yet enabled - which may be true for you, too.)

    Morphim’s picture

    Genius : ) Thanks for that : ) So simple on a localhost wamp setup. Cheers

    ike185’s picture

    Thanks mate, your instructions were so simple and worked like a charm! :-)

    algeorge’s picture

    NO NEED TO DOWNLOAD ANYTHING.
    Check you have php.ini in your EasyPHP\conf_files directory. If not, I took a copy from the \Apache directory (which was correctly configured). Open php.ini with wordpad or similar and remove the ';' from the line as follows
    from
    ;extension=php_uploadprogress.dll
    to
    extension=php_uploadprogress.dll

    Restart EasyPHP and its all go.

    alex.designworks’s picture

    pecl4win is down for ages, so you can get PECL DLLs at http://www.sfr-fresh.com/windows/www/php-5.3.6-src.zip/

    joshuautley’s picture

    Just incase there are still PC people looking for this I have posted the link and upload the PHP 5.4 dll over here...

    https://drupal.org/node/1184588#comment-7839115

    peggysmouse’s picture

    i am still seeing the "not enabled" status on /admin/reports/status for upload progress even though i just installed PECL uploadprogress. is there something i need to do after installing it?

    mgifford’s picture

    damaddhacker’s picture

    01. Make sure to install PHP5-DEV……. run “apt-get install php5-dev” from the command line, if not already installed.

    02. Installed the PECL Dynamic extension for uploadprogress…..”pecl install uploadprogress-1.0.1” from the command line. This
    will place the unix/linux based dynamic extension file "*.so" in the /usr/lib/php5/20060613+lfs directory or at least that's where
    it put mine.

    03. You will then have to copy the uploadprogress.so file the the extension directory that is configured in you php.ini file - mine
    was here "/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613 (I think this is because I used LAMPP)

    04. You have to modify the php.ini file adding "extension="uploadprogress.so" (keep the quotes they go along with the modification)

    05. I restarted lampp (Apache) needed restarted.....on the restart PHP loaded the extension.

    06. Download the uploadprogress module and install.

    07. NO ERRORS! MODULE INSTALLED!!

    08. http://us2.php.net/manual/en/install.pecl.pear.php (Here is where I began)

    annajonna’s picture

    Many thanks for Your excellent help. It sent me in the right direction for the info on installation of the uploadprogress.

    This comment may not help everybody in this thread since the commands described here are submitted on a command line in a terminal window.
    It may document how easy it is to install this on a Debian (in fact Ubuntu flavour) system in case You are running Your own webserver.

    1. Install make and the development files for php5:
      sudo apt-get install make php5-dev
    2. Configuration, compilation and installation is done completely automatically with the command:
      sudo pecl install uploadprogress-1.0.1
      After a few seconds the result should be:
      Build process completed successfully
      Installing '/usr/lib/php5/20060613/uploadprogress.so'
      install ok: channel://pecl.php.net/uploadprogress-1.0.1
      configuration option "php_ini" is not set to php.ini location
      You should add "extension=uploadprogress.so" to php.ini

    Assuming that You already have a running Drupal system, it is easy to see
    the php configuration at /admin/reports/status/php

    Then it is easy to see which php.ini file should be edited.
    In order to keep the php configuration modular, I ended up doing this:
    echo -e "extension=uploadprogress.so" > /etc/php5/apache2/conf.d/uploadprogress.ini

    Now reload the webserver configuration:
    sudo /etc/init.d/apache2 reload 
    alternatively:
    sudo service apache2 reload

    The Drupal status page promptly displays:

    Upload progress Enabled (PECL uploadprogress)

    Any pro server admin would proudly do it this way.
    Best whishes ...

    Kindest regards, Anna Jonna Ármannsdóttir

    pcoughlin’s picture

    Easy to follow and good detail ... worked great on Ubuntu 10.04 Apache2
    PECL Uploadprogress Installation ... Done!

    Thanks ... Paul

    progone’s picture

    This one here works for Ubuntu 10.10

    When I have this all figured out my online art and photos at http://nickybockers.deviantart.com will have a new home.

    davidwhthomas’s picture

    Thanks, so simple on Linux :-)
    DT

    afterdark’s picture

    So it seems that i must have system access to acomplish the instalation of the pecl library. But the fact is that i'm in a shared hosting and have absolutely no authorization to upload or compile libraries, and have access only to the cgi version of the php.ini file. What can i do?

    AfterDark

    WorldFallz’s picture

    You can ask the host to install it for your use, some do some refuse. If they refuse there's nothing you can do except change hosts.

    _
    Don't be a Help Vampire - read and abide the forum guidelines.
    If you find my assistance useful, please pay it forward to your fellow drupalers.

    Jumanne’s picture

    Like you I am on a shared host, but with shell access (DreamHost). I managed to compile the uploadprogress extension as follows. Note: these instructions are (most probably) only for DreamHost users

    make a temporary directory for compiled gnu binaries, unpack, compile and install the following source packages:
    - m4 (from http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz)
    - autoconf (from http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz)
    - automake (from http://ftp.gnu.org/gnu/automake/automake-latest.tar.gz)
    also, download the source PECL uploadprogress library (from http://pecl.php.net/get/uploadprogress-1.0.1.tgz)

    First prepare an environment variable and create a temp path

    mkdir $HOME/gnu
    export PATH=$PATH:$HOME/gnu

    Then

    wget http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz
    tar -xzf m4-latest.tar.gz
    cd m4-x-x
    ./configure -prefix=$HOME/gnu
    make
    make install
    export PATH=$PATH:$HOME/gnu/bin

    Now do the same trick for autoconf and automake (except the export PATH line)

    Then, unpack the uploadprogress package somewhere and..

    tar -xzf uploadprogress-x-x.tar.gz
    cd uploadprogress-x-x
    export PHP_PREFIX=/usr/local/php5/bin
    $PHP_PREFIX/phpize
    ./configure -prefix=$HOME/gnu -with-php-config=$PHP_PREFIX/php-config
    make

    ... resulting in a freshly compiled uploadprogress.so

    Most likely, since you're on a shared server, you don't have access to the webserver's "extension_dir". For that reason you're advised to create a CGI-wrapper for your php installation and use a custom php.ini where you will be including the uploadprogress extension:

    1) create the wrapper: see http://wiki.dreamhost.com/PHP.ini
    2) add the following line to your custom php.ini and make sure extension_dir points to the directory where your uploadprogress.so is located

    extension_dir = /path/to/your/uploadprogress/file/
    extension="uploadprogress.so"

    3) kill all fastcgi processes: see http://wiki.dreamhost.com/FastCGI
    4) reload your browser and check whether your status_report tells you the following: Upload progress: Enabled (PECL uploadprogress). You can also use some php-script calling phpinfo();

    Good luck

    TimNorman’s picture

    This worked like a charm for me to get it working. I had tried to do it before but failed miserably but your info helped me out.

    The only thing that through me for a bit was finding the uploadprogress.so file, I hadn't realized it it was in the module folder after making it. I overlooked some info on the screen but caught on fast enough.

    And I couldn't figure out how to kill the fastcgi processes but the pecl uploadprogress.so appears to be running. Perhaps I did it without knowing what I was doing or stumbled upon the right thing. Either way, it's working according to the status report page.

    Thanks for the info!

    webluke’s picture

    Make sure you run this command in the end after you update your php.ini in the terminal in your /home/username/domain.tld/cgi-bin

    touch ./dispatch.fcgi

    gr33nman’s picture

    This worked well. I greatly appreciate recipe-style directions. Thank you.
    PECLE uploadprogress is now enabled.

    another poster suggested using 'touch ./dispatch.fcgi' from shell in the cgi-bin folder, but I did not have to for it to show up in the status report. I didn't see the need for it. Could someone explain?

    BenGman’s picture

    Can I use a precompiled uploadprogress.so ? None seem to be available to download though...

    I am stuck on the ./configure m4 line because I have no access to gcc/cc/cl.exe.

    Can I get any precompiled of those to move forward?

    I have SSH and can install Perl Modules and PHP Pear Modules via Cpanel, but not PECL modules.

    Anyone with another work around, or precompiled binaries please assist.

    Thanks in advance!

    rpeters’s picture

    Where would the the path to my uploadprogress.so be?

    ascentcreative’s picture

    Hi

    I'm also using Dreamhost, but I can't get this working... I've followed your instructions and I've got a working uploadprogress.so file - at least, working in as far as it shows up in phpinfo()

    However, because my Dreamhost shared server is running on FastCGI/CGI PHP, it doesn't seem to want to work properly.

    After some hoofing around, I found that it's not a drupal issue per-se, but that 'uploadprogress_get_info' returns NULL all the time.

    Did you need to do anything else to get it working correctly on your Dreamhost account?

    Thanks

    Kieran

    markandphil’s picture

    Just a note to others. I set this up for Dreamhost and had a little hiccup with Automake getting an error and incessantly saying it needed Autoconf 2.1a or better. It did have Autoconf 2.8 but it still gave the error. So i just decided to proceed anyway with uploadprogress directions and it worked fine.

    doublejosh’s picture

    Stuck on ./configure -prefix=$HOME/gnu -with-php-config=$PHP_PREFIX/php-config with error ./configure: No such file or directory. There is a files called configure.in, but running the scripting pointing at that returns ./configure.in: Permission denied and sudo returns ./configure.in: command not found

    JSCSJSCS’s picture

    Following along like a newbie...step by step on Dreamhost shared server with SSH access.
    Got to this part:

    wget http://ftp.gnu.org/gnu/automake/automake-latest.tar.gz

    Got this error:

    --2012-02-01 05:13:53--  http://ftp.gnu.org/gnu/automake/automake-latest.tar.gz
    Resolving ftp.gnu.org... 140.186.70.20
    Connecting to ftp.gnu.org|140.186.70.20|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2012-02-01 05:13:53 ERROR 404: Not Found.

    Seems there is not automake-latest.tar.gz, so I found the latest version and did a wget on that:

    wget http://ftp.gnu.org/gnu/automake/automake-1.11.3.tar.gz

    --2012-02-01 05:17:26--  http://ftp.gnu.org/gnu/automake/automake-1.11.3.tar.gz
    Resolving ftp.gnu.org... 140.186.70.20
    Connecting to ftp.gnu.org|140.186.70.20|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1620860 (1.5M) [application/x-gzip]
    Saving to: `automake-1.11.3.tar.gz'

    100%[======================================>] 1,620,860   1.09M/s   in 1.4s

    So then I started with this:

    tar -xzf automake-1.11.3.tar.gz
    cd automake-1.11.3
    ./configure -prefix=$HOME/gnu

    and got this result and error:

    checking whether make supports nested variables... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for perl... /usr/local/bin/perl
    checking whether /usr/local/bin/perl supports ithreads... yes
    checking for tex... tex
    checking whether autoconf is installed... yes
    checking whether autoconf works... yes
    checking whether autoconf is recent enough... no
    configure: error: Autoconf 2.62 or better is required.

    It should be noted that the current Autoconf I created is autoconf-2.68, so not sure why I go the notice that autoconf in not recent enough.

    I tried a make anyway and got this error:
    make: *** No targets specified and no makefile found.  Stop.

    So I am stuck here until someone that knows what they are doing can help.
    It should also be noted that I followed the autoconf section without errors, but autoconf --version show I am still on Autoconf 2.61

    autoconf (GNU Autoconf) 2.61
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software.  You may redistribute copies of it under the terms of
    the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
    There is NO WARRANTY, to the extent permitted by law.

    Written by David J. MacKenzie and Akim Demaille.

    Not sure why that is, since my directory folder shows autoconf-2.68 and its .version file shows 2.68

    packetbrain’s picture

    1. I did not have pear installed.. verify with "pear help"

    yum install php-pear

    2. Install Uploadprogress

    pecl install uploadprogress

    last line of output from install:
    You should add "extension=uploadprogress.so" to php.ini

    3. Figure out where your php.ini file is

    php --ini

    4. Edit the php.ini file

    Add this line:
    extension=uploadprogress.so

    to the section labeled "Dynamic Extensions"

    5. Restart Apache

    service httpd restart

    6. Run phpinfo() to verify

    create a php script in your web root folder and browse to it:

    <?php
    phpinfo
    ()
    ?>

    -- Towards the bottom you should see the uploadprogress section

    7. Also verify with Drupal status screen

    at admin/reports/status

    You will see:
    Upload progress Enabled (PECL uploadprogress)

    http://www.packetbrain.com
    Train Your Brain...

    tborrome’s picture

    i followed your instructions, have centos5, but in my case pecl install uploadprogress resulted in "phpize not found".

    had to run this first to install phpize:
    yum install php-devel

    my php.ini was in /etc/php.ini

    everything else worked. thanks!

    serenitystocks.com’s picture

    The best instructions so far!

    The only things I would add is you might first need to add GCC, MAKE etc for the compilation.
    All of which is a cinch with yum - yum gcc etc - all one line commands available on the net.

    Finally, the .so file might not get installed in the default php/modules folder
    And you can't change extensions_dir like it says in freestylesystems.co.uk/blog/installng-pecl-uploadprogress-extension-drupal-filefield-module because then none of the other extensions work including mysql.

    I found that moving the uploadprogress.so file to the default extensions folder in php.ini works just as well.

    NynjaWitay’s picture

    This worked great for me on my minimal FC13 install after adding gcc, make, and php-devel as the other people said.

    You don't have to restart apache, just reload: /etc/init.d/httpd reload OR service httpd reload

    Scott M. Sanders’s picture

    I struggled for a long time with this, but the above worked perfectly; thanks!

    badzilla’s picture

    hi there! I had some problems with the installation so blogged the solution in the hope it helps others.
    http://www.badzilla.co.uk/Installing-PHP-PECL-uploadprogress-Extension-o...

    carsonw’s picture

    I'm running MAMP on Snow Leopard (Mac OS X), and I'm not familiar with the command line Terminal interface. After doing some searching and trial/error, I discovered the following solution to be incredibly easy, fast, and simple:

    http://duvien.com/web-development/development-tools/installing-uploadpro...

    lackskill’s picture

    Here's a script that I found for making a custom php.ini on a DreamHost shared server. http://sxi.sabrextreme.com/forum/viewtopic.php?id=2

    I made a mistake along the way and was having trouble figuring it out. This fixed it for me in a hurry. Highly recommended. :)

    steinmb’s picture

    One more how to on how to compile PECL extension under MAMP Leopard and Snow Leopard. The article also provide precompiled drop versions of uploadprogress to be used on OS 10.5 and 10.6. http://smbjorklund.no/how-enable-pecl-uploadprogress-extention-mamp

    @steinmb

    sachbearbeiter’s picture

    this article helped me a lot:
    http://jheslop.com/2009/05/27/adding-pecl-uploadprogress-to-11-shared-ho...

    here is my working solution:

    • Download PECL uploadaccess from http://pecl.php.net/get/uploadprogress to your 1&1 account
    • (console) tar -xvzf uploadprogress-1.0.1.tgz
    • (console) cd uploadprogress-1.0.1
    • (console) ./configure
    • (console) sed -i ‘s#-I/usr/local/include/php#-I/usr/include/php5#g’ Makefile
    • (console) make
    • (console) make test
    • (console) mkdir ~/extensions
    • (console) cp modules/uploadprogress.so ~/extensions
    • put into php.ini:
      extension_dir = /kunden/homepages/foo/foo/htdocs/extensions
      extension = uploadprogress.so
    Nukeourlimo’s picture

    Was looking for this too, if you have macports installed and apache2/php5 then the following seems to work fine

    sudo port install php5-uploadprogress

    remember to restart your apache

    thanks

    luke

    w00’s picture

    I have a multi-site setup with 2 sites (so far) upgraded from D6 -> D7.25.

    Both share the same Apache installation, and same PHP (php.ini, etc).

    One status report indicated UploadProgress was enabled, the other did not.

    The obvious solution, which took more time than it ought to have to find: module "File" was only enabled on one of the sites. Enabling on both gave PECL UploadProgress on both.

    Maybe someone can learn from my experience...