[ZendTo] Re: > 2GB upload woes
John Cooper
johnpcooper at yahoo.com
Mon Oct 3 17:00:08 BST 2011
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.
>
More information about the ZendTo
mailing list