I run a small helpdesk service for my clients using a PHP help desk application called HelpSpot (http://www.helpspot.com
It works very nicely and I rarely have any issues. I am trying to configure the server to allow large files to be attached (ie: uploaded) to cases/requests. HelpSpot has some guidelines on enabling large file uploads here: http://www.helpspot.com/helpdesk/index.php?pg=kb.page&id=34
. Based on their guidelines as well as other information I have found on the web, my PHP settings are as follows:
file_uploads = On
upload_tmp_dir = /tmp
upload_max_filesize = 10M
post_max_size = 20M
memory_limit = 128M
max_input_time = 360
max_execution_time = 360
In the MySQL config, max_allowed_packet is set to 33554432 (32 MB).
The problem is that I can successfully attach a 2 MB file to a case but I can't attach anything larger than 2 MB.
I should mention that when a file is attached to a case it is not saved on the file system - it is saved in the MySQL database as a BLOB. Also, the server OS is Ubuntu Server 8.04 LTS, and the versions of the various servers/packages are:
I have two questions:
1. Is there anything wrong with the settings above or is there a setting I have overlooked?
2. Is there a log file I can check to try and troubleshoot this issue?