[ZendTo] Re: > 2GB upload woes
Jules
Jules at Zend.To
Tue Oct 4 10:21:52 BST 2011
See if the attached libphp5.so file works for you. Works okay for me on
a real RHEL6 box.
On 03/10/2011 17:00, John Cooper wrote:
> Hi Jules,
> I'm also having trouble getting>2GB on Centos 6.0 which we followed
> your procedure on 12th September. I've just followed them again today
> but now seeing segfaults for>2GB transfers.
>
> kernel: php[10335]: segfault at 7fffed9adff8 ip 00000000005ae7b0 sp 00007fffed9ae000 error 6 in php[400000+2b9000]
>
>
> Running through the install there are a few typos
> http://zend.to/phpfixrhel6.php :-
>
> --------------------------------------------------
> ftp ftp.redhat.com
> cd pub/redhat/linux/enterprise/6Server/en/os/SRPMS
> hash
> bin
> prompt
> dir php5-*
> mget
> ---------------------------------------------------------
>
> Should be
>
> ---------------------------------------------------------
>
> ftp ftp.redhat.com
> cd pub/redhat/linux/enterprise/6Server/en/os/SRPMS
> hash
> bin
> prompt
> dir
> mget php-*
>
> ----------------------------------------------------------
>
> or using lftp just simply (logs on automatically as anon, yum install lftp)
>
> lftp ftp.redhat.com
> cd pub/redhat/linux/enterprise/6Server/en/os/SRPMS
> mget php-*
>
>
>
> To install without dependency issues
>
> cd ~/rpmbuild/RPMS/x86_64
>
> rpm -Uvh php-5.3.3-3.jkf.el6.x86_64.rpm
> php-bcmath-5.3.3-3.jkf.el6.x86_64.rpm php-cli-5.3.3-3.jkf.el6.x86_64.rpm
> php-common-5.3.3-3.jkf.el6.x86_64.rpm
> php-devel-5.3.3-3.jkf.el6.x86_64.rpm php-gd-5.3.3-3.jkf.el6.x86_64.rpm
> php-ldap-5.3.3-3.jkf.el6.x86_64.rpm
> php-mbstring-5.3.3-3.jkf.el6.x86_64.rpm
> php-mysql-5.3.3-3.jkf.el6.x86_64.rpm php-pdo-5.3.3-3.jkf.el6.x86_64.rpm
> php-pecl-apc-3.1.3p1-1.2.jkf.el6.1.x86_64.rpm
> php-soap-5.3.3-3.jkf.el6.x86_64.rpm php-xml-5.3.3-3.jkf.el6.x86_64.rpm
> php-xmlrpc-5.3.3-3.jkf.el6.x86_64.rpm
> ../noarch/php-pear-1.9.0-2.jkf.el6.noarch.rpm
>
>
> Thanks, John.
>
> On 30/09/11 09:44, Jules wrote:
>>
>> On 29/09/2011 21:01, --[ UxBoD ]-- wrote:
>>> Hello all,
>>>
>>> Have recompiled PHP to allow uploads> 2GB but to no avail :( If
>>> under 2GB it works fine but if> then I am ending up with:
>>>
>>> Firefox can't find the file at *MailScanner has detected a possible
>>> fraud attempt from "xxxxxxxxxxxxxxxxx" claiming to be*
>>> https://XXXXXXXXXXXXXXXXX/dropoff.php.
>>>
>>> and nothing appears in the error log. I have checked what the values
>>> are:
>>>
>>> [root at xxxxxxxxxxxx]# php -i | grep -i size
>>> post_max_size => 10G => 10G
>>> upload_max_filesize => 10G => 10G
>>>
>>> I used the documented process against:
>>>
>>> PHP Version => 5.3.8
>>>
>>> and all compiled fine. Any ideas where else to look ? This is under
>>> CentOS 6.
>> You did follow the RedHat 6 specific instructions, right?
>> I did edit the instructions slightly a few weeks ago, which will make
>> a big difference if you did this some time ago (the last of the Perl
>> statements changed).
>> And make sure you have the apc.ini settings correct too.
>>
>
> _______________________________________________
> 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
'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
I see it shining plain,
The happy highways where I went,
And cannot come again.' - A.E. Houseman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libphp5.so.gz
Type: application/x-gzip
Size: 1366166 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111004/1a0e71cd/attachment-0001.gz
More information about the ZendTo
mailing list