• hey, i have tryed to change the upload limit from 2mb to 64mb. I have writed: define(‘WP_MEMORY_LIMIT’, ’64M’);
    in the wp-config.php

    but nothing has changed. sorry for my bad english

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    That’s PHP’s memory limit, not its upload limit.

    The maximum upload size is controlled at the server-level, not by WordPress. Here are two ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 64M ; and post_max_size = 64M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 64M and php_value post_max_size = 64M to your .htaccess file.

    (in the above examples, the limit is set to 64MB)

Viewing 1 replies (of 1 total)
  • The topic ‘image upload limit’ is closed to new replies.