Title: Setting Upload Limit
Last modified: November 15, 2016

---

# Setting Upload Limit

 *  [bigsmalluniverse](https://wordpress.org/support/users/bigsmalluniverse/)
 * (@bigsmalluniverse)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/setting-upload-limit/)
 * I’ve setup wordpress locally on xammp by creating a folder wp with wordpress 
   in xampp/htdocs so xampp/htdocs/wp and successfully got it running.
    I’m trying
   to upload a theme but I get the error The uploaded file exceeds the upload_max_filesize
   directive in php.ini.
 * The file php.ini was not in wp-admin I’ve created one with
 * upload_max_filesize = 64M
    post_max_size = 64M max_execution_time = 300
 * I’ve tried also using the plugin [https://wordpress.org/plugins/increase-upload-max-filesize/](https://wordpress.org/plugins/increase-upload-max-filesize/)
 * and on tools > Upload Max Filesize
 * Has the details below, it was creating php.in in xampp/htdocs but still would
   not recognize the changes have taken effect.
 * Increase Upload Max Filesize
    Your Settings Before Running The Plugin:
 * Your upload_max_filesize was 2M.
    Your post_max_size was 8M.
 * Current Status:
 * Your upload_max_filesize is 2M.
    Your post_max_size is 8M.
 * Please allow some time for your server to recognize any changes. You can refresh
   this page in a few minutes to see if any changes have been made. Please note 
   that changes may have already been made, but you may have to clear your cache
   to see them here.
 * You may deactivate the plugin once your upload_max_filesize is at least 32M.

Viewing 1 replies (of 1 total)

 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/setting-upload-limit/#post-8438094)
 * The location of your php.ini file on Windows should be **xampp/php/php.ini**,
   the file doesn’t belong in your wp-admin folder as it’s not part of your WordPress
   installation, it’s a server configuration file.
 * [php.ini location using XAMPP](http://stackoverflow.com/questions/6185319/how-to-locate-the-php-ini-file-xampp)
 * Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Setting Upload Limit’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/setting-upload-limit/#post-8438094)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
