Cartika

Welcome, Guest Login

Support Center

Increasing Upload Size/Time in PHP Applications

Last Updated: Jun 09, 2014 06:18PM EDT
1) Create a .htaccess file in the root folder of the web server.



2) Put the following code in side the .htaccess file and save it.



php_value upload_max_filesize 50M

php_value post_max_size 50M

php_value max_execution_time 200

php_value max_input_time 200



(The exact time limit - in seconds - as well as the new upload limit
can be modified from this example, though, most should find the above
more than enough).



3) Confirm change via phpinfo() function.

Contact Us

sales@cartika.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete