Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.