My Apache/2.0.39 (sparc solaris9) DAV/2 PHP/4.2.2 with Gallery
v1.3.1-cvs-b12 has a php upload problem..
when gallery uploads a zip, jpg or several jpg files only the first ~2k
of each file makes it to the host...
I don't see anything in error_log, error_php
register_globals = on
post_max_size = 128M
max_execution_time = 120
file_uploads = 1
magic_quotes_* = off
safe_mode = off
upload_tmp_dir = /usr/tmp
where is the next place I should dig to find this php upload issue?
Posts: 16
You might ask your ISP if they are limiting the uploads within PHP. Although 2K does sound a little strict. Normally PHP is limited to 2Meg uploads. If you have access I would check the php.ini file for the upload limit.
Posts: 22
Posts: 3
Try to look at .htaccess
this is the values in my .htaccess (default values)
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_flag magic_quotes_gpc off
... plus some other stuff, not relevant to your question...
goodluck
Johan
Posts: 6
Before I am not very familiar with how php handles multiple large uploads or whether they all put in memory. So I tested 10 files with each 4-5 MB and kinda got frustrated how long it took to upload. I decided to use SFTP or SSH to upload the files and then use a web-based interface to put them in the database and in the directory they belong to.
Posts: 6
I am also wondering of Windows versions of PHP is supposed to be chopping off the filename if magic_quotes_gpc is on, or is it supposed to return the full, escaped filename.