I have a page that allows users to upload images.
It returns a 500 error when the user tries to upload large images.
The following code ...
<?php echo ini_get("upload_max_filesize"); echo ini_get("post_max_size"); echo ini_get("max_input_time"); echo ini_get("max_execution_time"); ?>
... returns:
100M 100M 60 3600
I assume this is the maximum input time that causes the problem, since I tested it with files under 100 MB, but it takes more than 60 seconds to load.
I do not have access with my host to the php.ini file, so can I override these settings? I tried adding the htaccess file, but I'm not sure if I put it in the right place.
Tom
source share