• topher.adhika

    (@topheradhika)


    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

    (@esmi)

    Is this your server?

    Thread Starter topher.adhika

    (@topheradhika)

    Well it’s shared hosting on 1and1’s server, rather than a private server, if that’s what you’re getting at.

    esmi

    (@esmi)

    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

    (@topheradhika)

    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.