Title: The PHP.Ini File
Last modified: September 1, 2016

---

# The PHP.Ini File

 *  Resolved [mythusmage](https://wordpress.org/support/users/mythusmage/)
 * (@mythusmage)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/)
 * In my installation of WordPress I’m told that my php.ini file has a limit of 
   2megs for an upload. This tells me that the php.ini file is already installed
   and doesn’t need to be created. I’ve also heard that it’s supposed to be in the
   wp-admin directory. But where? And is it necessary to keep it such a deep, dark
   secret?

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/#post-7700303)
 * It’s no “deep, dark secret,” but the location of the php.ini file varies greatly
   depending on the hosting provider and server configuration (it’s part of the 
   server’s PHP configuration, not a WordPress-specific thing), so you’ll need to
   consult your hosting provider’s documentation and/or support department about
   this.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/#post-7700307)
 * Please find all you need to know about this here:
 * [http://php.net/manual/en/configuration.file.php](http://php.net/manual/en/configuration.file.php)
 * WordPress is an application of PHP, **not PHP itself**.
 * If unclear, find someone to help.
 *  Thread Starter [mythusmage](https://wordpress.org/support/users/mythusmage/)
 * (@mythusmage)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/#post-7700492)
 * I thank you both for your assistance, and I found where the file is supposed 
   to be on my host. However, I didn’t get the full path. Sigh.
 * I’ll have to find a migration plugin.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/#post-7700497)
 * You’re welcome!

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

The topic ‘The PHP.Ini File’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/the-phpini-file/#post-7700497)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
