[ZendTo] Re: Large uploads not working on 64-bit Centos VM

Jules Jules at Zend.To
Sun Sep 4 10:45:10 BST 2011


I've found the solution to this one. In the most recent PHP revision, 
they tweaked the layout of the code which caused the patching commands 
on http://zend.to/phpfix.php to break, so it left an int behind that it 
should have turned into a long.

If you're running your own server (and haven't just taken my VM 
distribution) then you need to rebuild the libphp5.so binary according 
to the instructions on zend.to/phpfix.php which I fixed some time ago 
when I first discovered the problem.

If my VM distribution is also wrong, I will get that rebuilt as soon as 
I can. Otherwise you can just follow the instructions on 
http://zend.to/phpfix.php yourself to rebuild the binary.

Note if you are running RedHat 6 or CentOS 6, you will need to follow 
the link on that page to the RedHat 6 version of the instructions. 
Unfortunately these are rather more long-winded due to RedHat failing to 
ship a load of the libraries that are required to rebuild their own 
binaries :-(

Can you confirm the problem *does* exist on my own VM distribution for 
CentOS 5?

Jules.

On 02/09/2011 15:52, Chris Barber wrote:
>
> Okay well I am still also NOT able to upload any files larger than 2 
> GB, no matter what browser I try. IE9 64 bit, nope. Chrome, nope. 
> Firefox, nope.
>
> I checked my PHP parameters and they also look fine as you indicated 
> below. I'm out of ideas at the moment....
>
> My setup is using the 64 bit CentOS prebuilt VM. Running in ESXi 4.x.
>
> Jules?
>
> -Chris
>
> *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Chris Barber
> *Sent:* Friday, September 02, 2011 10:36 AM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Large uploads not working on 64-bit Centos VM
>
> Hey Richard
>
> I'm going to test this on my CentOS 4.05 ZendTo install and let you 
> know if it works. Make sure you give IE9 64bit edition a try too.
>
> Will report back soon.
>
> -Chris
>
> *From:*zendto-bounces at zend.to <mailto:zendto-bounces at zend.to> 
> [mailto:zendto-bounces at zend.to] 
> <mailto:[mailto:zendto-bounces at zend.to]> *On Behalf Of *ROGERS Richard
> *Sent:* Friday, September 02, 2011 6:44 AM
> *To:* 'zendto at zend.to'
> *Subject:* [ZendTo] Large uploads not working on 64-bit Centos VM
>
> Hi --
>
> I'm coming back to my upload problems with large (>2GB) files, having 
> updated to 4.03 on my 64 bit CentOS virtual machine (downloaded from 
> zend.to, so should have all the right underpinnings).
>
> Unfortunately this issue hasn't gone away with the upgrade (there's 
> always hope J). Here is a bit more info...
>
> Uploading via Chrome on Win7/64 bit, the upload appears to complete, 
> but at the end the following error is displayed:
>
> A couple of things to note:
>
> 1.The size does not exceed the limits imposed -- I've set an upload 
> limit in the configuration of around 8GB -- when the upload starts 
> Chrome displays "2242.39MB/8864.37MB"
>
> 2.A simple PHP script reports its internal limits as follows:
>
> php_int_max 9223372036854775807
> php_int_size 8
>
> ...so that looks like a "proper" 64 bit PHP!
>
> 3.Note the "From" above -- it seems to have "forgotten" who I am -- 
> could this be linked? (or is it just not bothering after some other 
> failure -- possibly so as it sill displays "you are currently logged 
> in as /ROGERS Richard/" at the bottom of the screen). It correctly 
> displayed my details (from AD login) in the earlier screens.
>
> Relevant configuration files are attached.
>
> Any suggestions as to what the problem may be, or how to go about 
> tracking it down, are welcome!
>
> Thanks and regards
>
> Richard
>
> --
>
> Richard Rogers
>
> Principal IT Officer, Client Technology and Applications
>
> Information Services, Staffordshire University
>
> Tel. 01785-353785
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'Teach a man to reason, and he will think for a lifetime.' - Phil Plait                                       'All programs have a desire to be useful' - Tron, 1982

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110904/b5830542/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20064 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110904/b5830542/attachment-0001.png 


More information about the ZendTo mailing list