I get the following message in my status report:

"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."

It has a link to the library, so I'm able to download it, but can anybody tell me HOW to INSTALL it??

I've googled this and I keep finding command line instructions - but I have no clue how to do that. I'm running Drupal 6 and it's hosted on BlueHost.com


WorldFallz’s picture

There's some threads right here on drupal.org: http://drupal.org/search/apachesolr_search/uploadprogress. Depending on your hosting environment (ie shared hosting), you may not be able to install it yourself.

bmblack’s picture

You're right. I contacted bluehost and they told me that is not something that end users can do. It has to be installed by them. This is something they will do based on request though.

ddwornik’s picture

I use Bluehost too. I am curious if it worked for you.

I asked and was told intially:

While we can install extensions on request, there are a few that we can't or won't install. Currently the uploadprogress extension requires mod_php to work. We do not use mod_php, and it is not installed on our servers. Since this dependency is not satisfied, we can't install that extension for you. We apologize for any inconvenience.

I then followed up, and sent a link to this discussion and received:

We can install APC and uploadprogress for you but we can't make any guarantees as to it's functionality since we don't have mod_php installed on our servers. We just need to verify your password or the last 4 digits of your credit card number.

and then later:

Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-zts-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

From here, just edit your php.ini file to reflect this extension_dir as well as add the extension=uploadprogress.so line to that file, and you should be good to go. If you need, I'd be happy to edit this for you. Just reply and let me know if that's something you'd like.

I made the changes noted, and phpinfo() says upload progress is enabled, but my bar does not move.

bmblack’s picture

If you go into your bluehost control panel, under software and service is PHP PEAR packages. If you go in there, you can find CodeGen_PECL and enable it. That seemed to work for me. My progress bar finally works.

jazzitup’s picture

I did just the same at my BlueHost shared server, but it didn't work. I have contacted tech support, they have installed the library manually and then I edited the php.ini according to their instructions, PECL was successfully detected by Drupal, but still - I've found out that PHP runs as FastCGI and I don't see the progress bar during the upload after all (I tried to upload ZIP and JPG files).

Were your running PHP as FastCGI as well, after you installed that CodeGen_PECL PEAR extension? I'm pretty sure it won't work because of FastCGI, but I have to feed my curiosity... :)

WorldFallz’s picture

I can't speak to bluehost specifically, but there are 2 different methods of getting uploadprogress installed. One is the the PECL extension, which seems to require apache mod_php. The other is part of the APC extension and doesn't require anything but APC (and whatever its dependencies are). It's not quite the same functionality however-- the apc version is less functional than the pecl version. I believe there's an issue in the filefield issue queue that discusses this.

PatW’s picture

Just to throw in my 2 cents worth... when I initially requested Bluehost to install it for me, they told me on 7/01/09

We unfortunately do not offer support for installing custom pecl packages onto the server outside of advising you that you can use the php/pear packages icon to install custom packages to your account or that you can upload the files to your account, extract them, and then point the includes path of your script to the proper folder where the package is located.

I pursued it again on 12/02/09 after reading these posts and finding this in their Knowledgebase

If there is a PECL Package you require which is not already installed, simply contact us via Phone, Live Chat or by Opening a Ticket.

Voila! They installed it for me this time. It's now installed and functioning, but not without a few glitches.

  • They notified me on 12/04
    We have installed the PECL package Uploadprogress. You should no longer receive that error.

    I still had the error on the Drupal status report and it wasn't showing up in phpinfo(), so I contacted them again, inquiring if the php.ini file needed to be changed.

  • They replied this morning (12/06/09)
    Yes, the php.ini needs the extension specified with the following line:extension=uploadprogress.so I've updated your php.ini with that extension so you should now see an uploadprogress section when you go to your phpinfo.php page.

    When I navigated to my website, it had a fatal error. Turns out they had changed my php memory limit back to the default of 32. I changed it back to 96 in the php.ini and the error went away. Phpinfo() then showed that uploadprogress was enabled and the error was gone from the status report. I received an error however when I tried to upload a file because they had changed the file upload size back to the default of 2MB. I bumped it up in the php.ini file and the progress bar now moves when uploading a file :-)

I hope this helps someone else.

mgifford’s picture

This documentation here is very good - http://drupal.org/node/793264

nmurali’s picture

Hi Friends,

I am working with drupal 7.0 in windows xp system now i wants to install PECL . I already added the line "extension=php_uploadprogress.dll" (c:\xampp\php\php.ini) but when i restarted the php services its showing the message

"php startup: unable to load dynamic library c:\xampp\php\ext\php_uploadprogress.dll - the specified module could not be found."

please help me i am struggling with this last few days. thanks for replyer's


BetoAveiga’s picture

To activate the upload progress bar I followed these steps:

- Opened a ticket in bluehost support with these lines:
Hi everyone! I need to install this pecl package: http://pecl.php.net/package/uploadprogress Thanks! :)

- When I get the confirmation email that my extension was active I generate a php.ini master file in my cpanel in "php config" icon. This generated a file called php.ini.default.

- Edit php.ini.default adding the line "extension=uploadprogress.so" (in the section of dynamic extensions)

- Rename php.ini and move it to your drupal root directory (if it's public_html just leave it there).

- That's it! Go to reports >> site status and check! Or just upload a file and see it.

Hope that helps :)

www.powdevel.com - desarrollo de aplicaciones web

turco’s picture

Thank you, it works for me now.

sinagod2’s picture

Don't know if y'all figured this out yet, but here is what I did.
I use bluehost shared servers to host my drupal accounts.
Bluehost does support PECL.
Here's how to enable it.
1) Login to c panel
2) scroll down till you find the Software/Services section
3) click on php config
4) choose the php version you want to use
5) check the box "Upload Progress"
6) scroll to bottom and click the save button.
7) Login as user on your website
8) Configuration/status
9) upload progress should now be enabled

Hope this helps

ylys’s picture

Thank you sinagod2, This works for me.

Richard15’s picture

Great! It worked perfectly!