Upload Progress Meter for Windows - The next take
The uploadprogress extension for PHP never really worked on Windows and since I don't have a Windows development environment I could never do a proper analysis of the problem. Until this week, when Tomas Holusa sent me an email telling me about some VCWD_RENAME problems on Windows. I digged a little bit deeper and found this patch commited by Pierre 10 months ago to the PHP 5.3 branch. This confirmed the problem that if the target file already exists, VCWD_RENAME fails on Windows (but works on unixy systems). Writing a patch for that problem was then easy and according to Tomas, the extension finally works on Windows.
If you want to try it out, Pierre was so kind to compile the latest CVS snapshots for PHP 5.2: php_uploadprogress-1.0.0-5.2-Win32-VC6-x86.zip or php_uploadprogress-1.0.0-5.2-nts-Win32-VC6-x86.zip (or search for it at http://downloads.php.net/pierre/). More feedback of running this on Windows would be appreciated, then I can finally release uploadprogress 1.0.0 and mark it as "stable" :)
Btw, I still owe you a "Caveats with Upload Progress Meter" for the most common problems with the extensions. I didn't forget that and can hopefully post it soon.
Update: Fixed the link to point to the 1.0.0 DLLs
Related Entries:
Comments [45]
Anuga, 22.03.2009 03:52 CEST
Still not working for me.
Windows Server 2003
PHP 5.2.8 / Uploadprogress 1.0.0
Apache 2.2.11
Roula, 24.05.2009 07:45 CEST
me too :(
i'm on windows with appserv and my phpinfo says my extensions directory is C:AppServphp5ext i put the dll there and it's not working as well as the ffmpeg dll after i've done all the settings and restarted few times...
i'm gona restart my whole laptop and see if it works
Chregu, 19.07.2009 16:42 CEST
As soon as Pierre has the time to compile the extension for 5.3, it will be available here http://downloads.php.net/pierre/
Chregu, 17.08.2009 08:30 CEST
Willie: Theoretically it could also work on IIS, but I didn't here from anyone trying that.
Basdub, 20.08.2009 21:49 CEST
I run Apache 2.2.6 and php 5.2.5 on Windows using WAMP.
When i restart my web server, the php_ error.log file contains:
PHP Warning: PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
So it seems to be related to thread-safety=0
Vickey, 04.09.2009 15:38 CEST
Hi,
I am trying this extension on wapm2.0.f(php 5.2.8, Apache 2.2.11) but I couldn't make it wotk. I have added php_uploadprogress.dll in extension folder and I can view information about it in phpinfo(); but still it is not workinc. I have also checked php_error log but I couldn't find any informaation. Can anybody help me to figure out the problem.
Veli Akcakaya, 09.04.2010 10:57 CEST
i downloaded http://downloads.php.net/pierre/php_uploadprogress-1.0.1-svn20091009-5.3-nts-vc9-x86.zip and copy it in the
php/ext/php_uploadprogress.dll
Then i added below lines in the php.ini
extension=php_uploadprogress.dll
uploadprogress.file.contents_template = /www/tmp
uploadprogress.file.filename_template = /www/tmp
But it doesnt work and says
"PHP startup: uploadprogress: Unable to initialize module compiled with build ID=API20090626,TS,VC9 PHP compiled with build ID=API20090626,TS,VC6 These options need to match."
Do you have any suggestion?
Thanks
puchu, 14.07.2010 15:25 CEST
Can anyone help me?
At our VPS on Debian Lenny we have uploadprogress installed
http://t.wits.sg/downloadsjquery.progressbar.2.01.zip
Run demo.php
At hosting it works fine
But at localhost it doesn't work
Windows 7 x64 Apache 2.2.15 PHP 5.2.13
I have downloaded php_uploadprogress-1.0.0-5.2-Win32-VC6-x86.zip
I have written to php.ini
[PHP_UPLOADPROGRESS]
extension=php_uploadprogress.dll
upload_progress_meter.store_method = "file"
uploadprogress.file.contents_template = "D:/Server/Temp/upload_contents_%s"
uploadprogress.file.filename_template = "D:/Server/Temp/upl_%s.txt"
And I see this http://clip2net.com/clip/m46295/1279113616-clip-8kb.png
At our hosting http://clip2net.com/clip/m46295/1279113874-clip-8kb.png
But at hosting works - localhost not!!!
Radon8472, 22.09.2010 19:04 CEST
I tried all versions of pierres dlls and i got
-----------
PHP: Startup: uploadprogress: Unable to initiale module
Module compiled with build ID=API20090613
PHP compiled with build ID=API=20090626
These options need to match
for
php_uploadprogress-1.0.0-5.2-Win32-VC6-x86.zip
PHP Startup: Unable to load dynamic library: ".....MYPATH TO EXTDIR....php_uploadprogress.dll" - Das angegebene Module wurde nicht gefunden.
for
php_uploadprogress-1.0.0-5.2-nts-Win32-VC6-x86.zip
and for
php_uploadprogress-1.0.1-svn20091009-5.3-nts-vc9-x86.zip
PHP: Startup: uploadprogress: Unable to initiale module
Module compiled with build ID=API20090626,TS,VC9
PHP compiled with build ID=API=20090626, TS,VC6
These options need to match
for
php_uploadprogress-1.0.1-svn20091009-5.3-vc9-x86.zip
----------------
I`m using XAMPP with
Apache/2.2.14
PHP/5.3.1
on Windows XP Professional Service Pack 3 (i586)
I hope someone can help me, I did`t find a solution for this problem.
Jason, 06.01.2011 02:57 CEST
If you are running on Windows x86 using an XAMPP 1.7.3 based webserver installation, then you will need to use the file:
http://www.xs4all.nl/~lupro/zooi/uploadprogress/php_uploadprogress-1.0.1-5.3-Win32-VC6-x86.zip
Thanks goes to Sebastien comments for helping me find this. This would likely have solved the problems posted by Veli Akcakaya and Radon8472.
uls, 30.05.2011 21:08 CEST
@Josh; sen bu linki vermişsin ya, ben senin daşşağını öpeyim. http://www.box.net/shared/vcczgpc8z3
Don, 19.11.2011 23:39 CEST
I downloaded the php5.3 version of the windows dll from the provided link http://www.box.com/shared/vcczgpc8z3. I have php 5.3.8. I made the entries into my php.ini file and restarted my apache 2.2. 21 server. The server won't load the dll for some reason "the requested operation has failed!". As soon as I comment out the extension=php_uploadprogress.dll line it restarts but w/o the new extension of course. Anyone have an idea what might be causing this? It's probably something simple I'm overlooking.
Add a comment
Your email adress will never be published. Comment spam will be deleted!
Ken Petri, 17.03.2009 00:08 CEST