Title: Minimum upload = 2Mb
Last modified: August 22, 2016

---

# Minimum upload = 2Mb

 *  [NLBlackEagle](https://wordpress.org/support/users/nlblackeagle/)
 * (@nlblackeagle)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/minimum-upload-2mb/)
 * Hello everyone,
 * I would like to start that with that I know about the hunderds of topics/discussions,
   even nearly whole forums about the issue I have.
 * I know this since I have tried every single possibility that I came across and
   will specify as following;
 * > I tried creating the **php.ini** after a wide search and the conclusion that
   > it didnt appeared in the following directories:
   > /root/var/www/html/wp-admin
   >  /root/var/www/html/wp-content /root/var/www/html/
   > includes
 * > I created the php.ini in notepad and tried the following arguments;
   > > upload_max_filesize=64M
   > > upload_max_filesize = 64M
   > > upload_max_filesize = 64M
   > >  post_max_size = 64M max_execution_time = 1000
   > I tried to place the php.ini in the following files;
   > >  /root/var/www/html/wp-admin
   > >  /root/var/www/html/wp-content /root/var/www/
   > > html/includes /root/ /root/var/ /root/var/www/ /root/var/www/html
 * >  I tried making a php.htaccess file with the following arguments;
   > >  php_value upload_max_filesize 1024M
   > >  php_value post_max_size 1024M php_value
   > > max_execution_time 1000 php_value max_input_time 1000
 * >  I tried editting the Functions.php file and added the following arguments;
   > >  @ini_set( ‘upload_max_size’ , ‘1024M’ );
   > >  @ini_set( ‘post_max_size’, ‘1024M’);
   > > @ini_set( ‘max_execution_time’, ‘1000’ );
 * And that’s where I run out of idea’s
 * Could anyone help me out?
 * I hope the message formatting is clear to everyone. If not please say so

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/minimum-upload-2mb/#post-5377123)
 * The php.ini file you need to edit is probably located at /etc/php.ini, or somewhere
   similar – whatever the path is for your particular server distribution. You can
   also safely remove any other php.ini files (and the other entries/edits) that
   you’ve created in the paths you mention above.
 * After you edit the main php.ini file directives to suit your needs, you will 
   need to restart apache/httpd for the changes to take effect.
 *  Thread Starter [NLBlackEagle](https://wordpress.org/support/users/nlblackeagle/)
 * (@nlblackeagle)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/minimum-upload-2mb/#post-5377209)
 * Maximum upload file size: 1,000 MB.
 * Awesome! The restart did it, I already had the file in place. Thanks ClaytonJames!
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/minimum-upload-2mb/#post-5377212)
 * You’re welcome! If you run into problems, you may also need to adjust the post_max_size
   directive. ‘post_max_size’ may need to be equal to or greater than your upload_max_filesize
   value.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Minimum upload = 2Mb’ is closed to new replies.

## Tags

 * [min](https://wordpress.org/support/topic-tag/min/)
 * [minimum](https://wordpress.org/support/topic-tag/minimum/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/minimum-upload-2mb/#post-5377212)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
