WordPress.org

Ready to get started?Download WordPress

Forums

Increase Upload Max Filesize
[resolved] Did not change upload max size (4 posts)

  1. yenasovereign
    Member
    Posted 5 months ago #

    Hi,

    I tried to use the plugin in php5.ini mode and php.in mode and waited 30 minutes and still nothing happened.

    The hosting I am using is One and One (1and1.com)

    PLease let me know if this can be used on this hosting server.

    Thank You!

    https://wordpress.org/plugins/increase-upload-max-filesize/

  2. isabel104
    Member
    Plugin Author

    Posted 5 months ago #

    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.

  3. burntrose
    Member
    Posted 5 months ago #

    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

  4. isabel104
    Member
    Plugin Author

    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic