I am running Drupal 7 on WampServer at the mowment and get a status report message:

Upload progress Not enabled
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.

Downloaded uptodate file "uploadprogress-1.0.1" - contents:

config.w32, config.m4, php_uploadprogress & uploadprogress

examples (folder) - index.php, info.php & server.php

Followed link:

http://freestylesystems.co.uk/blog/installing-pecl-uploadprogress-extens...

Installation on Windows
It's very simple to install on Windows:

1.Copy the uploadprogress.dll file from pecl4win into the path set for extension_dir in php.ini.
2.Add the following to php.ini:
extension=uploadprogress.dll1.Restart apache.
The pecl4win site was down for maintenance at time of writing so you could try here in the meantime (thanks to chriscohen for the link).

If you're using using WampServer 2 then it already comes with php_uploadprogress.dll installed (thanks again to chriscohen for pointing this out and testing that both methods work).

As you may have noticed there was no extension=uploadprogress.dll file in the original download

Anyway they are saying it is already installed on WampServer but where?

Your help would be greatly appreciated

Regards,

Colin

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

colinstables’s picture

Status: Active » Closed (cannot reproduce)
manObject’s picture

Priority: Normal » Major
Status: Needs work » Closed (cannot reproduce)

Calling all Windows users: There are various versions of php_uploadprogress.dll around and its vital to use the right one. Version 1.0.0.* is compiled using VC6. Version 1.0.1.* is compiled using VC9. Which one to use depends on which version (VC6 or VC9) that was used to compile the version of PHP you are using. PHP version 5.3 seems to have used VC6. However, its more complicated than that. The API's of both PHP and the dll have to match as well...
I tried the newer version of php_uploadprogress.dll (version 1.0.1.*) with Wampserver 2.1 and its no go - you just get an error message about the VC6/VC9 incompatability issue with no serving going on at all. With the older (version 1.0.0.*) dll, API incompatability was the problem. However, if you have the inclination, here's the link I found to 4 possible candidates, depending on your exact setup:

http://downloads.php.net/pierre/

manObject’s picture

Priority: Major » Normal
Status: Closed (cannot reproduce) » Needs work
sashkernel’s picture

Priority: Major » Normal
Status: Closed (cannot reproduce) » Needs work

Anyone got it to work on WAMP 2.1, D 7.8?
I've tried all suggested files, but none of them worked for me :(

TJM’s picture

I have tried the suggested files too, but I wasn't able to find dll any that worked for me. These are the links that I have tried to follow.

http://freestylesystems.co.uk/blog/installing-pecl-uploadprogress-extens...
http://pecl.php.net/package/uploadprogress
http://blog.liip.ch/archive/2009/03/09/upload-progress-meter-for-windows...
http://downloads.php.net/pierre/

Also, my php.ini has the extension without the preceding semicolon.
extension=php_uploadprogress.dll

I've tried these php_uploadprogress.dll versions as well as others.

php_uploadprogress-1.0.0-5.2-Win32-VC6-x86
php_uploadprogress-1.0.0-5.2-nts-Win32-VC6-x86

In one case, I received this error message, when I used a VC9 version from http://downloads.php.net/pierre/.
However, neither the VC6 versions nor the VC9 versions functioned for uploadprogress.

PHP Startup: uploadprogress: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC9
PHP compilied with build ID=API20090626,TS,VC6
These need to match

Finally, after running Cron, drupal 7 states that the uploadprogress is not enabled. However, the wamp's php.ini has extension=php_uploadprogress.dll without a preceding semicolon and php extension list has a check mark in front of the php_uploadprogress.dll in the extension list.

It would be nice if there were explicit instructions on how to install the uploadprogress dll for localhost wampserver 2.1 and Drupal 7. It was simple with Drupal 6 and the previous wampserver, because wampserver came with the proper uploadprogress.dll file.

kingfisher64’s picture

Did you ever get upload progress working TJM?

I like you have tried lots of different ways to get uploadprogress working.

colinstables’s picture

No still waiting for a simple solution

kingfisher64’s picture

I've given up on trying to get APC, uploadprogress working in a windows environment. I transfer my local site (windows) to linux servers for the live version - so installing pecl extensions like apc, uploadprogess, just work straight away.

TJM’s picture

I gave up trying to install the upload progress indicator on my local wampserver.
Sorry that I cannot help.
Ted

colinstables’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

joshuautley’s picture

Late to the party but I finally found PECL (upload progress) for Windows PHP 5.3 - PHP 5.5 and yes this link includes PHP 5.4 which I needed and have attached just encase the server where it resides goes down due to limited resources or maintenance.

http://windows.php.net/downloads/pecl/releases/uploadprogress/1.0.3.1/

colinstables’s picture

This is fixed by asking Hosting company to activate it