Title: php.ini
Last modified: August 19, 2016

---

# php.ini

 *  [tjoge011](https://wordpress.org/support/users/tjoge011/)
 * (@tjoge011)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/phpini-1/)
 * Hi,
 * There has been a lot of questions regarding the **upload_max_filesize** parameter
   in php.ini, also many solutions. I have tried the most, but I still have
    **upload_max_filesize
   =24m**.
 * From my cPanel, I choose Software / Services and PHP Configuration. The PHP Configuration
   page says:
 * _These PHP configuration settings are customizable by the server administrator.
   They are listed for reference only._
 * So my question is: How/where do I increase the **upload_max_filesize** parameter?
 * I have copied php.ini file to my public/html directory as one of the solutions
   were and then change from php.ini to php5.ini in the PHP Configuration, but I
   am not able to update this page.
 * Any other good solution that might splve my problem?
 * Thanks
 * Geir

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/phpini-1/#post-1044398)
 * Hi
 * You need to contact your webhost and ask them this question. The way to do it
   is different for each host – no generic answer is possible.
 *  [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/phpini-1/#post-1044417)
 * Can’t you just put the required maxs in a .htaccess file?

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
 * 3 participants
 * Last reply from: [Rhand](https://wordpress.org/support/users/rhand/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/phpini-1/#post-1044417)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
