RE: [PHP] [ANSWER] problem uploading big (50MB) file
| From: | Gilles-Eric Descamps | Date: | Thu, 29 Mar 2001 21:59:34 +0000 |
| Subject: | RE: [PHP] [ANSWER] problem uploading big (50MB) file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46170@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Philip Hallstrom [mailto:philip@adhesivemedia.com]
> 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@SiliconAccess.com
"Sed quis custodiet ipsos custodes ?"
> -----Original Message-----
> From: Clayton Dukes [mailto:cdukes@cdukes.com]
> Sent: Thursday, March 29, 2001 1:18 PM
> To: Gilles-Eric Descamps; php-general@lists.php.net
> 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@SiliconAccess.com>
> To: <php-general@lists.php.net>
> 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@SiliconAccess.com
> > "Sed quis custodiet ipsos custodes ?"
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>