WordPress.org

Ready to get started?Download WordPress

Forums

Using a line in the php.ini file which will override 4Mb limit. (4 posts)

  1. MinnieMouse25
    Member
    Posted 1 year ago #

    Hi there,

    I need to upload a theme to my WordPress site but I get an error message which says: "The uploaded file exceeds the upload_max_filesize directive in php.ini".
    The limit for file uploads on the server that I am on is set to 4Mb.
    Thus I created a php.ini file in the cpanel because there was none. I think that I need to add a line in the same php.ini file which will override the 4Mb limit. I'm not sure what the line should look like / say?
    Am I going about the correct way?
    Could someone please instruct me and tell me which line(s) I should add in my php.ini file?

    Many thanks in advance!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Where did you download this theme from?

  3. MinnieMouse25
    Member
    Posted 1 year ago #

    It is a WordPress theme from Themeforest.net...

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Contact the theme author. A theme upload shouldn't be more than 4mb.

Topic Closed

This topic has been closed to new replies.

About this Topic