Support » Plugin: Increase Upload Max Filesize » Did not change upload max size

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author isabel104

    (@isabel104)

    I see that One and One does use php.ini, but according to this:

    https://help.1and1.com/hosting-c37630/linux-c85098/php-c37728/change-php-directives-a660257.html

    their php.ini does not apply to any sub-folders. So, this plugin’s method of doing it will not help you. The best thing would be to edit the .htaccess file.

    If you have access to your website’s files on your server, and if you have WordPress installed, then you will find a file called .htaccess.

    Add these lines to end of that file:

    php_value post_max_size "33M"
    php_value upload_max_filesize "32M"

    Save the file.

    That should accomplish for your site the same thing that this plugin does.

    Please see this for details:

    https://help.1and1.com/hosting-c37630/linux-c85098/php-c37728/change-php-directives-a660257.html

    I hope this helps.

    Debi

    (@burntrose)

    Hi I am having the same issue and adding those lines to my .htaccess file gives an internal error and crashes the site.

    the htaccess has the mod-rewrite in it

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    where in this file should those lines go?
    Thanks

    Plugin Author isabel104

    (@isabel104)

    The 2 lines above should be wrapped like this:

    <IfModule php5_module>
    php_value post_max_size "33M"
    php_value upload_max_filesize "32M"
    </IfModule>

    This can go after the # END WordPress.

    Please note that this may not work on all servers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Did not change upload max size’ is closed to new replies.