• Hi all,
    I am on shared hosting, and so I have created a local (/public_html) php.ini file, containing the directives for a 64M max upload and max post size.

    The phpinfo() function reports that the site is indeed picking up the new php.ini file, and reports that php is configured to a 64M max post size and max upload size.

    However, I go back into my WP installation, and try to upload media – it still says that the maximum file size is 2M.

    Now, i’m slightly confused as – if the host was blocking local file size limit changes, it would appear in phpinfo() as the over-ridden file size limit, not the one I put in place. And as such, WP and phpinfo() should report exactly the same number.

    I don’t have any caching on in WP, as I use WP Super Cache and it is set to off.

    Any more ideas what might be going on?

    Thanks in advance,

    Martin

Viewing 1 replies (of 1 total)
  • Thread Starter Benaal87

    (@benaal87)

    Ok, I got this resolved myself. For anyone else who is looking at this problem, I think that the php.ini file only changes the php handling of the folder in which it is placed. Therefore, subfolders are not affected. Putting it into wp-admin worked a treat.

Viewing 1 replies (of 1 total)
  • The topic ‘upload_max_file_size not applying to WP site’ is closed to new replies.