RE: [PHP-DB] upload time out
| From: | Ryan Holowaychuk | Date: | Wed, 29 Jan 2003 20:39:39 +0000 |
| Subject: | RE: [PHP-DB] upload time out | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25239@lists.php.net to get a copy of this message | ||
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 4000 bytes) in Unknown on line 0
I have gone in and made some changes to allow the file upload larger
files. I have gone in as well and turned on the messaging for now so
that I can see things like the above error.
I believe that this is the area that I am to make the change, but when I
increase the memory limit I still get the same error
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 320 ; Maximum execution time of each script, in
seconds (default 30)
memory_limit = 8M ; Maximum amount of memory a script may consume
(8MB)
as to the question if I should use FTP, yes I can and do for most, but I
am trying to get this working for most as this is a lot easier for
people to send files, so if I can get it working for larger files then
things will fly
Thanks
-----Original Message-----
From: Hutchins, Richard [mailto:Richard.Hutchins@GetingeCastle.com]
Sent: Wednesday, January 29, 2003 11:00 AM
To: 'Ryan Holowaychuk'; php-db@lists.php.net
Subject: RE: [PHP-DB] upload time out
Yeah, it's a configuration directive, check here:
http://www.php.net/manual/en/configuration.directives.php#ini.upload-max
-fil
esize
If you're moving 10MB, is it possible to use FTP instead? Don't know
your
situation. Just a suggestion.
> -----Original Message-----
> From: Ryan Holowaychuk [mailto:ryan@hgilive.com]
> Sent: Wednesday, January 29, 2003 1:58 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] upload time out
>
>
> I have an upload page on my website, and when I do large
> files via this
> process, system times out.
>
> Are there some setting that I need to "tweek" to allow this process to
> finish, so if some one was to send a 10 meg file it will go through.
> Right now it will not even copy any part of the file.
>
> Thanks
> Ryan
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php