When I upload an asset I get an alert window stating my file size is to large. I have increased the file size in the general.php config file larger than the file size, however I keep getting a error. We are using AmazonS3. Is Craft limiting the file size, PHP or AmazonS3?
It's most likely PHP (definitely not Craft). Most PHP installations come standard with a 2M limit.
Check out this Stack Overflow thread for more information on what needs to be adjusted.
It's almost always an environmental limitation. The most common culprits are:
1) PHP's memory_limit setting: http://us3.php.net/manual/en/ini.core.php#ini.memory-limit
2) PHP's post_max_size: http://us3.php.net/manual/en/ini.core.php#ini.post-max-size
3) PHP's upload_max_filesize http://us3.php.net/manual/en/ini.core.php#ini.upload-max-filesize
These default values vary per host/installation, but try increasing them in your php.ini file. You may or may not need to restart your web server in order for the new settings to take affect.
For your specific case, if those aren't the culprit, then I'd check either S3's upload limitation settings or Craft's own maxUploadFileSize config setting, which we default to 16MB.
Craft itself, limits the filesize only in the
However Craft gets limited by:
PHP: Has a few values which might cause the problem:
AmazonS3: If not limited by a
User: Sometimes it can be just a Browser issue causing the problem.