Title: php directives breaking admin
Last modified: August 21, 2016

---

# php directives breaking admin

 *  [topher.adhika](https://wordpress.org/support/users/topheradhika/)
 * (@topheradhika)
 * [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/)
 * I’m having a problem with a site I’m modifying. I need to increase the php upload
   limit and have added the following lines to the php.ini file in the wp-admin 
   folder:
 *     ```
       post_max_size = 32MB
       upload_max_filesize = 32MB
       ```
   
 * This has the desired effect and when I navigate to the media uploader it shows
   32MB as the limit. However, now when I try to upload anything or modify any page
   or setting, clicking the upload/update button has no effect and just refreshes
   the page.
 * Does anyone know why this might be and how I can fix it?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/#post-4889870)
 * Is this your server?
 *  Thread Starter [topher.adhika](https://wordpress.org/support/users/topheradhika/)
 * (@topheradhika)
 * [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/#post-4889874)
 * Well it’s shared hosting on 1and1’s server, rather than a private server, if 
   that’s what you’re getting at.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/#post-4889877)
 * In that case, you need to contact your hosts’ support about this. I don’t think
   you can just drop a php.ini file in any folder on a 1&1 account.
 *  Thread Starter [topher.adhika](https://wordpress.org/support/users/topheradhika/)
 * (@topheradhika)
 * [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/#post-4889882)
 * Ah that’s the thing, I’ve asked their support and they say it’s fine, and I’ve
   run a dummy page with phpinfo() in the admin directory and all the settings look
   right.
 * Before placing it in the admin folder I had the amended php.ini file in the top-
   level and that broke the user login page. So from where I’m sitting it looks 
   like there’s something that the functions behind the update buttons don’t like,
   and I really don’t understand it.

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

The topic ‘php directives breaking admin’ is closed to new replies.

## Tags

 * [ini](https://wordpress.org/support/topic-tag/ini/)
 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [max](https://wordpress.org/support/topic-tag/max/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [size](https://wordpress.org/support/topic-tag/size/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [topher.adhika](https://wordpress.org/support/users/topheradhika/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/php-directives-breaking-admin/#post-4889882)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
