Jump to content

how do i increase the upload limit i have on my sharing host?


dbradbury

Recommended Posts

Your first step would be to check with your web host (many have FAQ sections) to find out if you can change the value and what method to use. A local php.ini or a .htaccess file is specific to how php is running on the web server. You must know which method is supported.

 

Once you find out if you can change the value and which method to use and you cannot get it to work, then you ask for help on a forum.

The values that affect the maximum size of file that can be uploaded cannot be set in a script using ini_set() statements (ini_alter() is an alias name for ini_set().) Therefore, you would need to put php_value statements in a .htaccess file. Something like -

php_value upload_max_filesize 30M
php_value post_max_size 30M

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.