File upload limit problem...... havent found a solution yet!
Posted: Wed Apr 14, 2004 11:15 am
Hi,
It has to do with file size limits when uploading. if I try to upload a file above about 1.5 megs, the page returns a 404 error.
This has been covered before, but no answer I found works for me.
I'm running Apache on WinXP Prof. with php 4.3.4
Had the same problem with 4.x.
http://203.185.231.127/phpinfo.php
my php.ini has:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30
max_input_time = 60
memory_limit = 8M
and also:
post_max_size = 8M
and
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On
upload_max_filesize = 8M
I don't have a php.conf file, so I cant set any LimitRequestBody value and LimitRequestBody doesnt show up anywhere else except in manual files.
when I try to upload a file larger then about 1 meg, i just get a "page cannot be found" page.
The pages have been tested on someone elses server, and work fine.
I dont have the site Im using set up as a virtual host, I just address it using the IP of my server.
you can test it here:
http://203.185.231.127/piccolo/index.php
thanks in advance!
It has to do with file size limits when uploading. if I try to upload a file above about 1.5 megs, the page returns a 404 error.
This has been covered before, but no answer I found works for me.
I'm running Apache on WinXP Prof. with php 4.3.4
Had the same problem with 4.x.
http://203.185.231.127/phpinfo.php
my php.ini has:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30
max_input_time = 60
memory_limit = 8M
and also:
post_max_size = 8M
and
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On
upload_max_filesize = 8M
I don't have a php.conf file, so I cant set any LimitRequestBody value and LimitRequestBody doesnt show up anywhere else except in manual files.
when I try to upload a file larger then about 1 meg, i just get a "page cannot be found" page.
The pages have been tested on someone elses server, and work fine.
I dont have the site Im using set up as a virtual host, I just address it using the IP of my server.
you can test it here:
http://203.185.231.127/piccolo/index.php
thanks in advance!