max_file_size

anewday

Well-Known Member
#1
Code:
[90.x.x.x:3364-0#APVH_forum...........com] [STDERR] PHP Warning: MAX_FILE_SIZE of 500000 bytes exceeded - file [upload_photo=D:\Documents and Settings\John Doe\My Documents\My Pictures\abcdefgh[1].jpg] not saved in Unknown on line 0
I noticed that on the error_log. I just tried to upload a 3mbyte attachment on my forum and it worked without showing anything on the error_log.

upload_max_filesize = 50M is already set in php.ini.
 
Last edited:

PSS

Well-Known Member
#2
Just a hunch, perhaps tmp folder was unavailable or full.
Is the php.ini with 50M the one LS reads?
 
Last edited:

mistwang

LiteSpeed Staff
#4
It is a PHP error, has nothing to do with LSWS.
There is a "max_post_size" configuration may affect this. Please check your php configuration with a phpinfo() page.
 

PSS

Well-Known Member
#7
These affect uploads, at least

memory_limit
upload_max_filesize
post_max_size
max_execution_time
upload_tmp_dir
 
Top