Title: Editing php.ini file?
Last modified: August 19, 2016

---

# Editing php.ini file?

 *  Resolved [driftingfocus](https://wordpress.org/support/users/driftingfocus/)
 * (@driftingfocus)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/editing-phpini-file/)
 * When I try to upload an image to my new self-hosted blog, I get this message:
 * This file is too big. Your php.ini upload_max_filesize is 2M.
 * Is there a way to edit that file?

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/editing-phpini-file/#post-1020035)
 * That depends on how your webhost has the server configured. You are best to ask
   that question of your webhost. Some hosts have a way that you can have a local
   php.ini that you can edit that overrides the server’s default settings.
 * On the other hand, you shouldn’t be uploading an image over 2 megs in size in
   the first place. That would be an right-from-the-camera image size. Images should
   first be reduced in size with image software before being uploaded. Most web 
   images are under 100K, a twentieth of 2 megabytes. There still are many people
   on dialup internet connections, and a 2 megabyte download for them takes a long
   time.
 *  Thread Starter [driftingfocus](https://wordpress.org/support/users/driftingfocus/)
 * (@driftingfocus)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/editing-phpini-file/#post-1020037)
 * I’m aware about the image size. However, the same also goes for any file I will
   be needing to upload, some of which are naturally, large, like video. It’s less
   about the “images” and more about the limitation.

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

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

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [uploading](https://wordpress.org/support/topic-tag/uploading/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [driftingfocus](https://wordpress.org/support/users/driftingfocus/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/editing-phpini-file/#post-1020037)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
