Title: php.ini
Last modified: November 1, 2017

---

# php.ini

 *  [gatomadrid](https://wordpress.org/support/users/gatomadrid/)
 * (@gatomadrid)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-ini/)
 * i´ve got this error when uploading a file (style) to wordpress. How can i change
   it?
 * “El archivo subido excede la directiva upload_max_filesize en php.ini.”

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

 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-ini/#post-9637361)
 * with FTP download and open php.ini from your root directory.
 * find this line:
    ; Maximum allowed size for uploaded files. upload_max_filesize
   = 5M
 * and change whatever your number is to a number larger than the file you are uploading.
 * Re-FTP to server.
 *  Thread Starter [gatomadrid](https://wordpress.org/support/users/gatomadrid/)
 * (@gatomadrid)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-ini/#post-9641143)
 * I don´t have this file in my root file. I createit but it’s not working. how 
   can i now the current vale? the file is 2.7 MB. Can it be a parameter of the 
   hosting?

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

The topic ‘php.ini’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gatomadrid](https://wordpress.org/support/users/gatomadrid/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/php-ini/#post-9641143)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
