Re: Problem with file uploading
| From: | MBiorn | Date: | Wed, 08 Nov 2000 15:02:44 +0000 |
| Subject: | Re: Problem with file uploading | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3744@lists.php.net to get a copy of this message | ||
Check in the php.ini file for this line:
upload_max_filesize =
I believe the default is around 2Mb. I had this problem at one time too and
changing this setting worked.
Maureen Biorn
Internet/Database Specialist
----- Original Message -----
From: "Lim Li Ping" <liping@mediaboxoffice.com>
To: "Andy Hoffman" <andy.hoffman@bms.com>; <php-windows@lists.php.net>
Sent: Tuesday, November 07, 2000 7:14 PM
Subject: Re: [PHP-WIN] Problem with file uploading
> Thank-you for your suggestion. However, the problem still persist perhaps
> due to my server performance. The application we are developing intend to
> accept up to 20MB per file. I am thinking of using ftp_put function
instead.
>
> If anyone have any viewpoints regarding this issue, please drop a mail.
>
> Thanks in advance,
> Nic.
> ----- Original Message -----
> From: Andy Hoffman <andy.hoffman@bms.com>
> To: <php-windows@lists.php.net>
> Sent: Friday, November 03, 2000 1:07 AM
> Subject: Re: [PHP-WIN] Problem with file uploading
>
>
> > Lim Li Ping wrote:
> >
> > > The message shown on web-page is as below :
> > > "The server encountered an internal error or misconfiguration and was
> unable to complete your request."
> > >
> > > Apache error log records :
> > > "Premature end of script headers : c:/devel/php/php.exe
> > > FATAL: erealloc():unable to allocate 5884001 bytes."
> >
> > This might be a problem (well, low setting really) in Apache, and not
> php... look for the following line in your httpd.conf and try increasing
> this threshold.
> >
> > #
> > # Timeout: The number of seconds before receives and sends time out.
> > #
> > Timeout 350
> >
> >
> > Just a thought.
> >
> > --
> > Andy Hoffman
> > Web Developer
> > Bristol-Myers Squibb
> > email: andy.hoffman@bms.com
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net