php-general | 2001032
Date: 03/29/01
- Next message: Les Neste: "[PHP] PHP and .htaccess"
- Previous message: Jack Dempsey: "Re: [PHP] Better way (if...elseif...else)"
- Next in thread: Matt Williams: "RE: [PHP] [ANSWER] problem uploading big (50MB) file"
- Reply: Matt Williams: "RE: [PHP] [ANSWER] problem uploading big (50MB) file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: Philip Hallstrom [mailto:philip <email protected>]
> Subject: Re: [PHP] problem uploading big (50MB) file
> Try replacing "100M" with it's byte equivalent. Or maybe it's
> kilobytes. One on of my systems they had "2M" and it wouldn't upload
> anything cause it didn't parse it right.
> In other words, set that value to what you had with say php4.0.1
> good luck!
replaced 100M by 104857600,
and it WORKED !
two days I was stuck on this
Thanks,
-- Gilles-Eric DESCAMPS, Voice: (408) 545-1130 SILICON ACCESS NETWORKS Fax: (419) 844-7467 < Enabling the Future Internet > 211 River Oaks Parkway - San Jose, CA, 95134 mailto:Gilles-Eric.Descamps <email protected> "Sed quis custodiet ipsos custodes ?"> -----Original Message----- > From: Clayton Dukes [mailto:cdukes <email protected>] > Sent: Thursday, March 29, 2001 1:18 PM > To: Gilles-Eric Descamps; php-general <email protected> > Subject: Re: [PHP] problem uploading big (50MB) file > > > This is set by max_execution_time, did you restart apache to > re-read your > php.ini file? > > > > Clayton Dukes > --------------------------------------------------------------------- > Download Free Essays, Term Papers and Cisco Training from > http://www.gdd.net > > > > > > > > ----- Original Message ----- > From: "Gilles-Eric Descamps" <Gilles-Eric.Descamps <email protected>> > To: <php-general <email protected>> > Sent: Thursday, March 29, 2001 4:06 PM > Subject: [PHP] problem uploading big (50MB) file > > > > Hi, > > > > I'm using IE 5.01 to upload a big (~50MB) file to a form. > > > > The form works well for small files. > > If I try a big file, IE timeout after 30 seconds > > saying "cannot find server or DNS error" > > This same exact php code works for small files... > > > > I've modified php.ini to > > max_execution_time = 120 > > memory_limit = 104857600 ; Maximum amount of memory a > script > > may consume (100MB) > > post_max_size = 100M > > upload_tmp_dir = /tmp ; temporary > directory for HTTP > > uploaded files (will use system default if not specified) > > /tmp has 1GB free > > upload_max_filesize = 104857600 ; 100 Meg default > limit on file > > uploads > > > > I've verified this through the php info function. > > > > I'm running Apache/1.3.9 (Unix) PHP/4.0.3pl1 on a Solaris 2.6 sparc > server. > > > > MS Internet Explorer 5.01 keeps timing out after 30 seconds... > > > > Any ideas ? > > > > -- > > Gilles-Eric DESCAMPS, Voice: (408) 545-1130 > > SILICON ACCESS NETWORKS Fax: (419) 844-7467 > > < Enabling the Future Internet > > > 211 River Oaks Parkway - San Jose, CA, 95134 > > mailto:Gilles-Eric.Descamps <email protected> > > "Sed quis custodiet ipsos custodes ?" > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > > For additional commands, e-mail: php-general-help <email protected> > > To contact the list administrators, e-mail: > php-list-admin <email protected> >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Les Neste: "[PHP] PHP and .htaccess"
- Previous message: Jack Dempsey: "Re: [PHP] Better way (if...elseif...else)"
- Next in thread: Matt Williams: "RE: [PHP] [ANSWER] problem uploading big (50MB) file"
- Reply: Matt Williams: "RE: [PHP] [ANSWER] problem uploading big (50MB) file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

