Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By bmblack on
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
Comments
_
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.
You're right. I contacted
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.
Did this work?
I use Bluehost too. I am curious if it worked for you.
I asked and was told intially:
I then followed up, and sent a link to this discussion and received:
and then later:
I made the changes noted, and phpinfo() says upload progress is enabled, but my bar does not move.
If you go into your bluehost
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.
FastCGI?
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... :)
--
www.jazzit.hr
_
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.
Bluehost installed PECL Upload Progress for me
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
I pursued it again on 12/02/09 after reading these posts and finding this in their Knowledgebase
Voila! They installed it for me this time. It's now installed and functioning, but not without a few glitches.
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.
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.
Documentation
This documentation here is very good - http://drupal.org/node/793264
how to install uploadprogress.dll with xampp in windows xp
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
Murali
It worked for me on Bluehost
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 :)
Drupal Backend / Frontend Developer
Thank you, it works for me
Thank you, it works for me now.
Enabling PECL on Bluehost
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
works for me.
Thank you sinagod2, This works for me.
Great! It worked perfectly!
Great! It worked perfectly!